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