Interface HttpResponse<ResponseBody>

Type Parameters


  • HttpResponse


body?: ResponseBody

Body of the response with type defined by responseType (optional).

elapsedTime?: number

The elapsed time in seconds since this request was opened.

headers: HttpHeaders

Headers of the response.

length?: number

Amount of bytes of the response body (optional).

request: HttpRequest

Corresponding request object of this response

status: number

HTTP status code

statusText: string

Status text provided by the server or default value if not present in response.

timeToFirstByte?: number

The time-to-first-byte for this request in seconds.

url: string

URL of the actual request. May differ from url when redirects have happened.

Generated using TypeDoc