Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PipelineResponse

Package version

Metadata about a response received by the pipeline.

Hierarchy

  • PipelineResponse

Index

Properties

Optional blobBody

blobBody: Promise<Blob>

BROWSER ONLY

The response body as a browser Blob. Always undefined in node.js.

Optional bodyAsText

bodyAsText: string | null

The response body as text (string format)

headers

headers: HttpHeaders

The HTTP response headers.

Optional readableStreamBody

readableStreamBody: NodeJS.ReadableStream

NODEJS ONLY

The response body as a node.js Readable stream. Always undefined in the browser.

request

The request that generated this response.

status

status: number

The HTTP status code of the response.

Generated using TypeDoc