Skip to content

Session Ping

Use this topic to confirm that the WebSocket connection and session are still available. It may also be used as a periodic application-layer heartbeat.

Topic

text
session.ping

Purpose

Use it to confirm that the connection is available. It may also be used as an application-layer heartbeat.

Request

json
{
  "type": "request",
  "requestId": "req_ping_001",
  "topic": "session.ping",
  "data": {}
}

Reply

json
{
  "type": "reply",
  "requestId": "req_ping_001",
  "topic": "session.ping",
  "success": true,
  "data": {}
}

Rules

  • requestId is generated by the client and should be unique within the same connection
  • Send session.ping every 30 seconds
  • Excessive heartbeat frequency may trigger RATE_LIMITED

Continue Reading

Docs buildVersion v1.2.19-20260602-174859-60
Copyright © 2026 WLTE