Represents an HTTP message as received in reply to a request. Contains a numeric status code in addition to standard message properties.

interface HttpResponse {
    body?: any;
    headers: HeaderBag;
    statusCode: number;
}

Hierarchy (view full)

Properties

body?: any
headers: HeaderBag
statusCode: number