pub const DEFAULT_WS_IDLE_TIMEOUT: Duration;Expand description
A reasonable idle bound for WebSocketDispatcher::with_idle_timeout:
how long an established connection may carry no traffic in either direction
before it is closed.
Matches DEFAULT_IDLE_TIMEOUT for the
HTTP bindings, and like it counts traffic in both directions so a
subscription pushing events out is not mistaken for a dead connection.
Unlike the HTTP default it is off unless asked for — see
WebSocketDispatcher::with_idle_timeout for why a WebSocket cannot
safely assume silence means death.