httpBytes
httpBytes(
url,options?):Promise<Buffer<ArrayBufferLike>>
Defined in: packages/core/src/utils/http.ts:33
Download a binary response (images) with the same timeout, retry, and
Retry-After semantics as httpJson.
Parameters
Section titled “Parameters”string
Absolute request URL.
options?
Section titled “options?”HttpRequestOptions = {}
Method, headers, timeout, retries, logger.
Returns
Section titled “Returns”Promise<Buffer<ArrayBufferLike>>
The raw response bytes.