Namespaces
getBinary
Call Signature
function getBinary(url: string): Promise<ArrayBuffer>;Defined in: http/index.d.ts:61
Downloads the content from the specified URL as binary and returns an ArrayBuffer.
Parameters
| Parameter | Type | Description |
|---|---|---|
url | string | The URL to request from. |
Returns
Promise<ArrayBuffer>
Call Signature
function getBinary(options: HttpRequestOptions): Promise<ArrayBuffer>;Defined in: http/index.d.ts:67
Downloads the content from the specified URL as binary and returns an ArrayBuffer.
Parameters
| Parameter | Type | Description |
|---|---|---|
options | HttpRequestOptions | An object that specifies various request options. |
Returns
Promise<ArrayBuffer>