An interface describing an HTTP response that was received.

Hierarchy

  • HttpResponse

Properties

body?: unknown

If available, the response body.

contentType?: string

If available, the value of the Content-Type header.

statusCode: number

The HTTP status code.