Ping Message

Type: 0

Direction: Server → Client

The ping message is a message sent every 30 seconds to all the clients, if any client does not respond with a pong message before the next ping message, it'll get disconnected from the WebSocket.

Model

PropertyTypeDescription
type0The type of the WebSocket message, indicating a ping event.
data?nullNo data is sent with a ping message.