Documentation
Client
Type-aliases
EventPongListener

Type Alias: EventPongListener()

EventPongListener: (received, payload) => void

Defined in: src/client.ts:147

The first argument communicates whether the pong was received from the server. If false, the pong was sent by the client.

Parameters

received

boolean

payload

PongMessage["payload"]

Returns

void