Keep-Alive
Keep-alive flow:
Server Client
│── Ping (3928) ────────────>│
│ │
│<─ Pong (2596) ─────────────│
│ │
│── connection terminated ──>│ if server does not receive Pong (2596) within 30s
S→C 3928 - Ping
Keepalive ping from server. Client must reply with Pong (295) to maintain the connection.
Body: (empty)
C→S 2596 - Pong
Nitro:
CLIENT_PONG- Nitro adds CLIENT_ prefix.
The server sends Ping (3928) once during login and expects Pong (295) in response. The server also uses an idle timeout, after which the connection is terminated.
Body: (empty)