Skip to main content

Crate tauri_plugin_websocket

Crate tauri_plugin_websocket 

Source
Expand description

Open a WebSocket connection using a Rust client in JS.

§Cargo features

  • rustls-tls (enabled by default): Enables TLS functionality provided by rustls with WebPKI roots.
  • rustls-tls-native-roots: Enables TLS functionality provided by rustls with the platform’s native certificate roots.
  • native-tls: Enables TLS functionality provided by native-tls.
  • native-tls-vendored: Enables the vendored feature of native-tls.

At least one TLS feature is required for wss://; plain ws:// works without one.

Structs§

Builder

Functions§

init