Skip to main content
Version: 16.0.0

HTTPResponse.status() method

Signature:

class HTTPResponse {
status(): number;
}

Returns:

number

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