@tauri-apps/plugin-upload
Functions
Section titled “Functions”download()
Section titled “download()”function download( url: string, filePath: string, progressHandler?: ProgressHandler, headers?: Map<string, string>,body?: string): Promise<void>;Defined in: plugins/upload/guest-js/index.ts:53
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
url |
string |
filePath |
string |
progressHandler? |
ProgressHandler |
headers? |
Map<string, string> |
body? |
string |
Returns
Section titled “Returns”upload()
Section titled “upload()”function upload( url: string, filePath: string, progressHandler?: ProgressHandler, headers?: Map<string, string>,method?: HttpMethod): Promise<string>;Defined in: plugins/upload/guest-js/index.ts:22
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
url |
string |
filePath |
string |
progressHandler? |
ProgressHandler |
headers? |
Map<string, string> |
method? |
HttpMethod |
Returns
Section titled “Returns”Enumerations
Section titled “Enumerations”HttpMethod
Section titled “HttpMethod”Defined in: plugins/upload/guest-js/index.ts:16
Enumeration Members
Section titled “Enumeration Members”| Enumeration Member | Value | Defined in |
|---|---|---|
Patch |
"PATCH" |
plugins/upload/guest-js/index.ts:19 |
Post |
"POST" |
plugins/upload/guest-js/index.ts:17 |
Put |
"PUT" |
plugins/upload/guest-js/index.ts:18 |
© 2026 Tauri Contributors. CC-BY / MIT