Sent by the server to every socket every 30 s. WSProvider answers
PongMessage, and a socket that missed the previous ping is closed.
The server also answers a client's ping, though the client never sends one.
type: "ping"
Sent by the server to every socket every 30 s. WSProvider answers
PongMessage, and a socket that missed the previous ping is closed.
The server also answers a client's ping, though the client never sends one.
type: "ping"
import { type PingMessage } from "shared/ws.ts";