ShardSocketCloseCodes
Documentation / @discordeno/gateway / ShardSocketCloseCodes
Enumeration: ShardSocketCloseCodes
Defined in: types.ts:137
Enumeration Members
ReIdentifying
ReIdentifying:
3066
Defined in: types.ts:152
Shard is re-identifying therefore the old connection needs to be closed.
Resharded
Resharded:
3065
Defined in: types.ts:150
Special close code reserved for Discordeno's zero-downtime resharding system.
ResumeClosingOldConnection
ResumeClosingOldConnection:
3024
Defined in: types.ts:141
A resume has been requested and therefore the old connection needs to be closed.
Shutdown
Shutdown:
3000
Defined in: types.ts:139
A regular Shard shutdown.
TestingFinished
TestingFinished:
3064
Defined in: types.ts:148
Discordeno's gateway tests hae been finished, therefore the Shard can be turned off.
ZombiedConnection
ZombiedConnection:
3010
Defined in: types.ts:146
Did not receive a heartbeat ACK in time. Closing the shard and creating a new session.