Http Response that is compatible with the core-v1(core-http).
Properties headersA collection of HTTP header key/value pairs.
requestA description of a HTTP request to be made to a remote server.
Inherited Properties blobBodyBROWSER ONLY
The response body as a browser Blob. Always undefined in node.js.
bodyAsTextThe response body as text (string format)
browserStreamBodyBROWSER ONLY
The response body as a browser ReadableStream. Always undefined in node.js.
parsedBodyThe response body as parsed JSON or XML.
parsedHeadersThe parsed HTTP response headers.
readableStreamBodyNODEJS ONLY
The response body as a node.js Readable stream. Always undefined in the browser.
statusThe HTTP status code of the response.
Property DetailsA collection of HTTP header key/value pairs.
headers: HttpHeadersLike
Property Value request
A description of a HTTP request to be made to a remote server.
request: WebResourceLike
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 Omit.blobBody
bodyAsTextThe response body as text (string format)
bodyAsText?: null | string
Property Value
null | string
Inherited From Omit.bodyAsText
browserStreamBodyBROWSER ONLY
The response body as a browser ReadableStream. Always undefined in node.js.
browserStreamBody?: ReadableStream<Uint8Array>
Property Value
ReadableStream<Uint8Array>
Inherited From Omit.browserStreamBody
parsedBodyThe response body as parsed JSON or XML.
parsedBody?: any
Property Value
any
Inherited From Omit.parsedBody
The parsed HTTP response headers.
parsedHeaders?: {[key: string]: unknown}
Property Value
{[key: string]: unknown}
Inherited From Omit.parsedHeaders
readableStreamBodyNODEJS ONLY
The response body as a node.js Readable stream. Always undefined in the browser.
readableStreamBody?: ReadableStream
Property Value
ReadableStream
Inherited From Omit.readableStreamBody
statusThe HTTP status code of the response.
status: number
Property Value
number
Inherited From Omit.status
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4