Help prepare for 2025 → Answer 8 simple questions on our Fall Survey
Open Survey
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.