Expand description
Native transport implementation based on tokio-tungstenite.
Modules§
- crypto
- Simple crypto provider utilities for rustls.
- stream
- Sink/Stream split helpers for Tokio Tungstenite connections.
- tls
- TLS configuration helpers for managing certificates and private keys.
Structs§
- Client
- Reusable WebSocket client created by
ClientBuilder. - Client
Builder - Builder for creating a WebSocket client.
- Connection
- WebSocket connection wrapper around a Tokio Tungstenite stream.
- Dangerous
Client Builder - Builder that can create clients with disabled certificate verification.
- Server
- WebSocket server listener.
- Server
Builder - Builder for creating a WebSocket server.
Functions§
- bind
- Bind a WebSocket server listener.
- connect
- Establish a WebSocket connection using Tokio Tungstenite.
- connect_
with_ tls - Establish a WebSocket connection using a custom TLS configuration.
Type Aliases§
- Server
Stream - Boxed stream type used for server connections.