WebAssetContainer.upload() method
Uploads new asset.
Signature:
upload(blob: Blob, options?: UploadAssetOptions): Promise<string>;
Parameters
Parameter | Type | Description |
---|---|---|
blob | Blob | Asset data |
options | UploadAssetOptions | Upload options |
Returns:
Promise<string>
Asset name