Expand description
Configuration for WebSocket infrastructure.
WsConfig controls heartbeat cadence, broadcast buffering, global
connection limits, and the Origin allow-list for the upgrade handshake
(WsConfig::allowed_origins). Use the builder for ergonomic
construction.
Structs§
- WsConfig
- Configuration for WebSocket connections and broadcast channels.
- WsConfig
Builder - Builder for
WsConfig.