Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/sockets/src/interfaces.ts>ITransmitterOptions

A WebSocket library for Deno.
Latest
interface ITransmitterOptions
import { type ITransmitterOptions } from "https://deno.land/x/sockets@v0.5.0/src/interfaces.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.