Expand description
Helper library for native MoQ applications.
Establishes MoQ connections over:
- WebTransport (HTTP/3)
- Raw QUIC (with ALPN negotiation)
- WebSocket (fallback via web-transport-ws)
- Plain TCP via the
tcp://scheme (qmux, no TLS; requirestcpfeature) - Unix domain socket via the
unix://scheme (qmux, peer-credential aware; requiresudsfeature, unix-only) - Iroh P2P (requires
irohfeature)
See Client for connecting to relays and Server for accepting connections.
Re-exports§
Modules§
- bind
- Dual-stack socket binding.
- quic
- QUIC transport tuning, split by role.
- quinn
- tcp
- Plain-TCP qmux transport, reachable via the
tcp://URL scheme. - tls
- unix
- Unix-domain-socket qmux transport, reachable via the
unix://URL scheme. - watch
- Watch on-disk files (TLS certs/keys) and get notified when they’re rotated.
- websocket
Structs§
- Backoff
- Exponential backoff configuration for reconnection attempts.
- Client
- Client for establishing MoQ connections over QUIC, WebTransport, or WebSocket.
- Client
Config - Configuration for the MoQ client.
- Log
- Tracing log configuration.
- Reconnect
- Handle to a background reconnect loop.
- Request
- An incoming MoQ session that can be accepted or rejected.
- Server
- Server for accepting MoQ connections.
- Server
Config - Configuration for the MoQ server.
- Server
Id - Server ID for QUIC-LB support.
- TcpConfig
- Plaintext-TCP qmux listener settings (no TLS, no UDP).
- Unix
Allow - Peer-credential allowlist for a
unix://listener. - Unix
Config - Plaintext Unix-socket qmux listener settings, with an optional peer-credential allowlist.
Enums§
- Connect
Error - Error returned when connection setup fails for a terminal auth reason.
- Error
- Errors produced while configuring or establishing native MoQ connections.
- Quic
Backend - The QUIC backend to use for connections.
- Status
- A connection lifecycle transition reported by
Reconnect::status.
Type Aliases§
- Result
- Convenience alias for results produced by this crate.