Skip to main content
Version: Next

HttpResponse

A response as the transport returns it from HttpClient.sendRequest, error statuses included.

Index

Properties

body

The body as raw bytes, or unread as a Readable when the request asked for a stream.

headers

Response headers keyed by lowercase header name.

status

status: number

HTTP status code.

Page Options