Skip to main content

Crate websock_tungstenite

Crate websock_tungstenite 

Source
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.
ClientBuilder
Builder for creating a WebSocket client.
Connection
WebSocket connection wrapper around a Tokio Tungstenite stream.
DangerousClientBuilder
Builder that can create clients with disabled certificate verification.
Server
WebSocket server listener.
ServerBuilder
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§

ServerStream
Boxed stream type used for server connections.