Skip to main content
Version: 15.3.2

HTTPResponse.status() method

Signature:

class HTTPResponse {
status(): number;
}

Returns:

number

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