Skip to content

@tauri-apps/plugin-upload

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

Parameter Type
url string
filePath string
progressHandler? ProgressHandler
headers? Map<string, string>
body? string

Promise<void>


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

Parameter Type
url string
filePath string
progressHandler? ProgressHandler
headers? Map<string, string>
method? HttpMethod

Promise<string>

Defined in: plugins/upload/guest-js/index.ts:16

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