Skip to main content

Crate qmux

Crate qmux 

Source
Expand description

QMux protocol (draft-ietf-quic-qmux-01) over reliable transports.

Provides QUIC-style multiplexed streams over TCP, TLS, and WebSocket, with backwards compatibility for the legacy webtransport wire format.

Re-exports§

pub use ws::Client;
pub use ws::KeepAlive;
pub use ws::Server;
pub use proto::Version;
pub use tokio_tungstenite;
pub use tokio_tungstenite::tungstenite;

Modules§

proto
Wire format types for QMux frame encoding and decoding.
tcp
Plain TCP transport.
tls
TLS over TCP transport.
ws
WebSocket transport.

Structs§

Config
Configuration for a QMux session.
RecvStream
The receive half of a multiplexed stream.
SendStream
The send half of a multiplexed stream.
Session
A multiplexed session over a reliable transport.
StreamId
A QUIC-style stream identifier encoding direction and initiator.

Enums§

Error
Errors that can occur during QMux session and stream operations.
StreamDir
Stream direction.

Constants§

ALPNS
All supported ALPN identifiers, in preference order.

Traits§

Transport
Abstracts message I/O over a reliable transport.