pub const DEFAULT_SERVER_KEEP_ALIVE_TIMEOUT: Duration;
Expand description

Sets a timeout for receiving an acknowledgement of the keepalive ping.

If the ping is not acknowledged within the timeout, the connection will be closed. Does nothing if http2_keep_alive_interval is disabled.

Tonic default is 20 seconds.