8.8 released—CSS Media Query support, SF Symbols and much more...
Learn more
HttpResponse
interface HttpResponse {
  content: HttpContent;
  headers: Headers;
  statusCode: number;
}
Encapsulates HTTP-response information from an HTTP-request.

Summary

Properties

content

content?: HttpContent
Gets the response content.

headers

headers: Headers
Gets the response headers.

statusCode

statusCode: number
Gets the response status code.