pongKeepAliveTimeout property

Duration pongKeepAliveTimeout
final

Controls how long to wait for a reponse to a heartbeat ping before concluding that the connection has dropped.

Shorter values will make connection state change notifications more responsive as it will only change to disconnected after this much time has elapsed, but overly short values may result in spurious disconnection notifications when the server is simply taking a long time to respond.

Defaults to 2 minutes.

Implementation

final Duration pongKeepAliveTimeout;