Skip to content

pong

pong is the heartbeat acknowledgement event used by either side to reply to a received ping.

Event TypeFlow Direction
pongBoth directions

Data Definition

ts
interface PongMessage {
  type: 'pong'
  timestamp: number
}

Examples

  • Reply to a server heartbeat
json
{
  "type": "pong",
  "timestamp": 1760000000000
}
  • Reply to a client heartbeat
json
{
  "type": "pong",
  "timestamp": 1760000025000
}

Model Drive Protocol