HTTPResponse.statusText() method

The status text of the response (e.g. usually an “OK” for a success).

Signature

class HTTPResponse {
  abstract statusText(): string;
}

Returns:

string