Skip to main content

ShardSocketCloseCodes

@discordeno/gatewayDocs


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

gateway/src/types.ts:168


Resharded

Resharded: 3065

Special close code reserved for Discordeno's zero-downtime resharding system.

Defined in

gateway/src/types.ts:166


ResumeClosingOldConnection

ResumeClosingOldConnection: 3024

A resume has been requested and therefore the old connection needs to be closed.

Defined in

gateway/src/types.ts:157


Shutdown

Shutdown: 3000

A regular Shard shutdown.

Defined in

gateway/src/types.ts:155


TestingFinished

TestingFinished: 3064

Discordeno's gateway tests hae been finished, therefore the Shard can be turned off.

Defined in

gateway/src/types.ts:164


ZombiedConnection

ZombiedConnection: 3010

Did not receive a heartbeat ACK in time. Closing the shard and creating a new session.

Defined in

gateway/src/types.ts:162