mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-27 16:16:35 +03:00
show dialog on unexpected socket close code
This commit is contained in:
@@ -71,6 +71,23 @@ enum class GatewayEvent : int {
|
||||
};
|
||||
|
||||
enum class GatewayCloseCode : uint16_t {
|
||||
// standard
|
||||
Normal = 1000,
|
||||
GoingAway = 1001,
|
||||
ProtocolError = 1002,
|
||||
Unsupported = 1003,
|
||||
NoStatus = 1005,
|
||||
Abnormal = 1006,
|
||||
UnsupportedPayload = 1007,
|
||||
PolicyViolation = 1008,
|
||||
TooLarge = 1009,
|
||||
MandatoryExtension = 1010,
|
||||
ServerError = 1011,
|
||||
ServiceRestart = 1012,
|
||||
TryAgainLater = 1013,
|
||||
BadGateway = 1014,
|
||||
TLSHandshakeFailed = 1015,
|
||||
|
||||
// discord
|
||||
UnknownError = 4000,
|
||||
UnknownOpcode = 4001,
|
||||
|
||||
Reference in New Issue
Block a user