@tauri-apps/plugin-upload
Enumerations
Section titled “Enumerations”HttpMethod
Section titled “HttpMethod”Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/upload/guest-js/index.ts#L16
Enumeration Members
Section titled “Enumeration Members”Patch: "PATCH";Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/upload/guest-js/index.ts#L19
Post: "POST";Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/upload/guest-js/index.ts#L17
Put: "PUT";Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/upload/guest-js/index.ts#L18
Functions
Section titled “Functions”download()
Section titled “download()”function download( url, filePath, progressHandler?, headers?, body?): Promise<void>;Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/upload/guest-js/index.ts#L53
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>;Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/upload/guest-js/index.ts#L22
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