Skip to content

@tauri-apps/plugin-upload

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

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

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

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

Promise<void>


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

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

Promise<string>


© 2026 Tauri Contributors. CC-BY / MIT