0
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.
Property | Type | Description |
---|---|---|
type | 0 | The type of the WebSocket message, indicating a ping event. |
data? | null | No data is sent with a ping message. |