HTTPResponse.status() method

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

Signature

class HTTPResponse {
  abstract status(): number;
}

Returns:

number