Skip to main content

Module config

Module config 

Source
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.
WsConfigBuilder
Builder for WsConfig.