Skip to main content
Version: 16.1.0

HTTPResponse.status() method

Signature:

class HTTPResponse {
status(): number;
}

Returns:

number

The status code of the response (e.g., 200 for a success).