inactivityTimeout property

Duration? inactivityTimeout
final

The duration after which the connection is considered unstable, because no keep alive message was received from the server in the given time-frame. The connection to the server will be closed. If autoReconnect is set to true, we try to reconnect to the server after the specified delayBetweenReconnectionAttempts.

If null, the keep alive messages will be ignored.

Implementation

final Duration? inactivityTimeout;