FullOperationResponse interface

Wrapper object for http request and response. Deserialized object is stored in the parsedBody property when the response body is received in JSON or XML.

Extends

Properties

parsedBody

The response body as parsed JSON or XML.

parsedHeaders

The parsed HTTP response headers.

request

The request that generated the response.

Inherited Properties

blobBody

BROWSER ONLY

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

bodyAsText

The response body as text (string format)

browserStreamBody

BROWSER ONLY

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

headers

The HTTP response headers.

readableStreamBody

NODEJS ONLY

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

status

The HTTP status code of the response.

Property Details

parsedBody

The response body as parsed JSON or XML.

parsedBody?: any

Property Value

any

parsedHeaders

The parsed HTTP response headers.

parsedHeaders?: {[key: string]: unknown}

Property Value

{[key: string]: unknown}

request

The request that generated the response.

request: PipelineRequest

Property Value

Inherited Property Details

blobBody

BROWSER ONLY

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

blobBody?: Promise<Blob>

Property Value

Promise<Blob>

Inherited From PipelineResponse.blobBody

bodyAsText

The response body as text (string format)

bodyAsText?: null | string

Property Value

null | string

Inherited From PipelineResponse.bodyAsText

browserStreamBody

BROWSER ONLY

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

browserStreamBody?: ReadableStream<Uint8Array>

Property Value

ReadableStream<Uint8Array>

Inherited From PipelineResponse.browserStreamBody

headers

The HTTP response headers.

headers: HttpHeaders

Property Value

Inherited From PipelineResponse.headers

readableStreamBody

NODEJS ONLY

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

readableStreamBody?: ReadableStream

Property Value

ReadableStream

Inherited From PipelineResponse.readableStreamBody

status

The HTTP status code of the response.

status: number

Property Value

number

Inherited From PipelineResponse.status