Skip to main content
Version: 17.1.1

HTTPResponse.status() method

Signature:

class HTTPResponse {
status(): number;
}

Returns:

number

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