Package version:

Interface HttpResponse

A representation of an HTTP response that includes a reference to the request that originated it.

interface HttpResponse {
    headers: HttpHeadersLike;
    request: WebResourceLike;
    status: number;
}

Properties

headers: HttpHeadersLike

The headers from the response.

request: WebResourceLike

The original request that resulted in this response.

status: number

The HTTP status code returned from the service.