@tauri-apps/plugin-upload
function download(   url,   filePath,   progressHandler?,   headers?,body?): Promise<void>| Parameter | Type | 
|---|---|
| url | string | 
| filePath | string | 
| progressHandler? | ProgressHandler | 
| headers? | Map<string,string> | 
| body? | string | 
Promise<void>
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/upload/guest-js/index.ts#L44
function upload(   url,   filePath,   progressHandler?,headers?): Promise<string>| Parameter | Type | 
|---|---|
| url | string | 
| filePath | string | 
| progressHandler? | ProgressHandler | 
| headers? | Map<string,string> | 
Promise<string>
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/upload/guest-js/index.ts#L16
© 2025 Tauri Contributors. CC-BY / MIT