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

x/sockets/mod.ts>Transmitter#timeoutPing

A WebSocket library for Deno.
Latest
method Transmitter.prototype.timeoutPing
import { Transmitter } from "https://deno.land/x/sockets@v0.5.0/mod.ts";

Pings client at a timeout. If client does not respond, client connection will be removed.

Parameters

clientId: number
  • The WebSocket connection ID of the client in question.