@tauri-apps/plugin-upload
Enumerations
Section titled “Enumerations”HttpMethod
Section titled “HttpMethod”Enumeration Members
Section titled “Enumeration Members”Patch: "PATCH";Post: "POST";Put: "PUT";Functions
Section titled “Functions”download()
Section titled “download()”function download( url, filePath, progressHandler?, headers?,body?): Promise<void>Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
url |
string |
filePath |
string |
progressHandler? |
ProgressHandler |
headers? |
Map<string, string> |
body? |
string |
Returns
Section titled “Returns”Promise<void>
upload()
Section titled “upload()”function upload( url, filePath, progressHandler?, headers?,method?): Promise<string>Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
url |
string |
filePath |
string |
progressHandler? |
ProgressHandler |
headers? |
Map<string, string> |
method? |
HttpMethod |
Returns
Section titled “Returns”Promise<string>
© 2026 Tauri Contributors. CC-BY / MIT