Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sockets/mod.ts>ITransmitterOptions

A WebSocket library for Deno.
Latest
interface ITransmitterOptions
import { type ITransmitterOptions } from "https://deno.land/x/sockets@v0.5.0/mod.ts";

Properties

optional
ping_interval: number

A property to determine number of ms to wait for a pong event before closing a client connection.

optional
ping_timeout: number

A property to determine number of ms before sending a ping event to a connected client.

optional
reconnect: boolean

A property to set reconnect flag. If false, server will not ping client.