StorageDownloader class
Default downloader used - handles downloading from all schemes specified in the gateway URLs configuration.
Signature:
export declare class StorageDownloader implements IStorageDownloader
Implements: IStorageDownloader
Example
// Can instantiate the downloader with the default gateway URLs
const downloader = new StorageDownloader();
const storage = new ThirdwebStorage({ downloader });
Methods
Method | Modifiers | Description |
---|---|---|
download(uri, gatewayUrls, attempts) |