Deno.UpgradeWebSocketOptions.idleTimeout - Deno documentation
property Deno.UpgradeWebSocketOptions.idleTimeout

If the client does not respond to this frame with a pong within the timeout specified, the connection is deemed unhealthy and is closed. The close and error event will be emitted.

The unit is seconds, with a default of 30. Set to 0 to disable timeouts.

Type

number