Hierarchy

  • ClientPayloadPing

Properties

Properties

op: "PING"

The payload the client is supposed to periodically send the server to not get disconnected.

The interval where these pings are supposed to be sent can be found in the HELLO payload of the ServerPayload enum.


Note

You are supposed to send your first ping in a connection after RAND * heartbeat_interval seconds, RAND being a random floating number between 0 and 1.

This is done to avoid immediately overloading Pandemonium by connecting if it ever has to go down.

Example

{
"op": "PING"
}