property WebSocketPluginOptions.heartbeatPayload

The text frame sent on each heartbeat tick. Defaults to 'ping'. Read only when WebSocketPluginOptions.heartbeatMs is above 0.

Type

string

Usage

import { type WebSocketPluginOptions } from "websocket-plugin/src/index.ts";