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

x/sockets/mod.ts>Transmitter#ping

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

Pings client at a set interval.

Parameters

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