Skip to main content

Crate tauri_plugin_upload

Crate tauri_plugin_upload 

Source
Expand description

Upload files from disk to a remote server over HTTP.

Download files from a remote HTTP server to disk.

§Cargo features

  • rustls-tls (enabled by default): Enables TLS functionality provided by rustls.
  • native-tls: Enables TLS functionality provided by native-tls.
  • native-tls-vendored: Enables the vendored feature of native-tls.

Enums§

Error
The error type returned by this plugin’s upload and download commands.
HttpMethod
The HTTP method used to send the file in the upload command.

Functions§

init
Initializes the upload plugin, registering the upload and download commands.