@tauri-apps/plugin-upload
Ce contenu n’est pas encore disponible dans votre langue.
Functions
download()
function download( url, filePath, progressHandler?, headers?,body?): Promise<void>
Parameters
Parameter | Type |
---|---|
url | string |
filePath | string |
progressHandler ? | ProgressHandler |
headers ? | Map <string , string > |
body ? | string |
Returns
Promise
<void
>
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
>
© 2025 Tauri Contributors. CC-BY / MIT