@tauri-apps/plugin-upload
此内容尚不支持你的语言。
Functions
download()
function download( url, filePath, progressHandler?,headers?): Promise<void>
Parameters
Parameter | Type |
---|---|
url | string |
filePath | string |
progressHandler ? | ProgressHandler |
headers ? | Map <string , string > |
Returns
Promise
<void
>
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/upload/guest-js/index.ts#L42
upload()
function upload( url, filePath, progressHandler?,headers?): Promise<string>
Parameters
Parameter | Type |
---|---|
url | string |
filePath | string |
progressHandler ? | ProgressHandler |
headers ? | Map <string , string > |
Returns
Promise
<string
>
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/upload/guest-js/index.ts#L14
© 2024 Tauri Contributors. CC-BY / MIT