Skip to main content

PING_INTERVAL

Constant PING_INTERVAL 

Source
pub const PING_INTERVAL: Duration;
Available on crate feature tokio only.
Expand description

S2 Connect’s keep-alive interval.

S2C §Keepalive & heartbeat: “S2 WebSockets implementations should send a ping frame every 30 seconds, and must not wait more than 60 seconds between sending ping frames.”