@tauri-apps/plugin-upload
Enumerations
Section titled “Enumerations”HttpMethod
Section titled “HttpMethod”Enumeration Members
Section titled “Enumeration Members”Patch: "PATCH";Source: undefined
Post: "POST";Source: undefined
Put: "PUT";Source: undefined
Functions
Section titled “Functions”download()
Section titled “download()”function download( url, filePath, progressHandler?, headers?,body?): Promise<void>Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
url |
string |
filePath |
string |
progressHandler? |
ProgressHandler |
headers? |
Map<string, string> |
body? |
string |
Returns
Section titled “Returns”Promise<void>
Source: undefined
upload()
Section titled “upload()”function upload( url, filePath, progressHandler?, headers?,method?): Promise<string>Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
url |
string |
filePath |
string |
progressHandler? |
ProgressHandler |
headers? |
Map<string, string> |
method? |
HttpMethod |
Returns
Section titled “Returns”Promise<string>
Source: undefined
Tauri 中文网 - 粤ICP备13048890号
Nodejs.cn 旗下网站