Main object that contains result information from a request.

Hierarchy

  • HttpResponse

Constructors

Properties

Constructors

Properties

body: string

Remarks

Body content of the HTTP response.

headers: HttpHeader[]

Remarks

A collection of HTTP response headers returned from the request.

request: HttpRequest

Remarks

Information that was used to formulate the HTTP response that this object represents.

status: number

Remarks

HTTP response code for the request. For example, 404 represents resource not found, and 500 represents an internal server error.