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

x/sockets/src/transmitter.ts>Transmitter#ping

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

Pings client at a set interval.

Parameters

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