IStorageDownloader.download() method
Download arbitrary data from any URL scheme
Signature:
download(url: string, gatewayUrls?: GatewayUrls): Promise<Response>;
Parameters
Parameter | Type | Description |
---|---|---|
url | string | The URL to download data from |
gatewayUrls | GatewayUrls | (Optional) The gateway URLs to use for this download |
Returns:
Promise<Response>
The response object of the fetch