You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 15, 2025. It is now read-only.
|`4000`| Unknown error | An unknown error has occurred and the connection was terminated. | x | x | x |
596
+
|`4001`| Unknown opcode | The client has sent a message with an unknown [opcode](#3212-opcodes-op) to the server. | x | x ||
597
+
|`4002`| Invalid payload | The client has sent a message with an invalid payload to the server. | x | x ||
598
+
|`4003`| Not authenticated | The server has received a message from the client before the client identified itself, or the clients' session has been invalidated. || x ||
599
+
|`4004`| Invalid authentication | The authentication token received by the server as part of the identify payload is invalid. || x ||
600
+
|`4005`| Already authenticated | The client has sent an identify payload even though it has already identified successfully. || x ||
601
+
|`4006`| Reserved | 4006 is a reserved value and has no function in polyproto v1.0. The specific meaning may be defined in the future. ||||
602
+
|`4007`| Invalid sequence number(s) | The client has sent a heartbeat containing sequence numbers that were invalid. | x | x ||
603
+
|`4008`| Rate limited | The client has sent payloads too quickly. || x ||
604
+
|`4009`| Timeout | The session has been deemed to be timed out. This can happen if a heartbeat or heartbeat ACK has not been sent in due time. | x (If sent by server) | X | x |
605
+
559
606
TODO
560
607
561
608
#### 3.2.6 Guaranteed delivery of gateway messages through package acknowledgement
@@ -584,7 +631,9 @@ in – especially when network conditions are suboptimal. This mechanism is base
584
631
retransmitted, preserving the integrity and completeness of communication between the client
585
632
and server.
586
633
587
-
634
+
If `except` was present and contained entries in the heartbeat payload, the server must re-send these
635
+
events in the `d` part of the heartbeat ACK response.
0 commit comments