8.7 released—WinterCG Compliance Part 1
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.