Saltearse al contenido
Tauri

@tauri-apps/plugin-upload

Esta página aún no está disponible en tu idioma.

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#L44


upload()

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

Parameters

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

Returns

Promise<string>

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


© 2024 Tauri Contributors. CC-BY / MIT