▸ Agent Skills
1 min read

@tauri-apps/plugin-upload

Enumerations

HttpMethod

Enumeration Members

Patch
Patch: "PATCH";

Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/upload/guest-js/index.ts#L19

Post
Post: "POST";

Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/upload/guest-js/index.ts#L17

Put
Put: "PUT";

Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/upload/guest-js/index.ts#L18

Functions

download()

function download(   url,   filePath,   progressHandler?,   headers?,body?): Promise<void>

Parameters

ParameterType
urlstring
filePathstring
progressHandler?ProgressHandler
headers?Map<string, string>
body?string

Returns

Promise<void>

Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/upload/guest-js/index.ts#L53


upload()

function upload(   url,   filePath,   progressHandler?,   headers?,method?): Promise<string>

Parameters

ParameterType
urlstring
filePathstring
progressHandler?ProgressHandler
headers?Map<string, string>
method?HttpMethod

Returns

Promise<string>

Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/upload/guest-js/index.ts#L22


Support on Open CollectiveSponsor on GitHub

© 2026 Tauri Contributors. CC-BY / MIT


Last updated Oct 08, 2026