Skip to main content
Module

x/netzo/deno.d.ts>Deno.UpgradeWebSocketOptions

SDK for Netzo, the open Web platform to unify IoT devices, applications and services.
Go to Latest
interface Deno.UpgradeWebSocketOptions
import { type Deno } from "https://deno.land/x/netzo@v0.1.10/deno.d.ts";
const { UpgradeWebSocketOptions } = Deno;

Properties

optional
protocol: string
optional
idleTimeout: number

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 default is 120 seconds. Set to 0 to disable timeouts.