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.
- Extends
Properties
parsed |
The response body as parsed JSON. |
raw |
The raw HTTP response headers. |
request | The request that generated the response. |
Inherited Properties
blob |
BROWSER ONLY The response body as a browser Blob. Always undefined in node.js. |
body |
The response body as text (string format) |
browser |
BROWSER ONLY The response body as a browser ReadableStream. Always undefined in node.js. |
headers | The HTTP response headers. |
readable |
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
rawHeaders
request
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