Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oasis/tests/deps.ts>ShardSocketCloseCodes

An object oriented Discordeno framework
Latest
enum ShardSocketCloseCodes
Re-export
import { ShardSocketCloseCodes } from "https://deno.land/x/oasis@2.1.0/tests/deps.ts";

Members

ReIdentifying = 3066

Shard is re-identifying therefore the old connection needs to be closed.

Resharded = 3065

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

ResumeClosingOldConnection = 3024

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

Shutdown = 3000

A regular Shard shutdown.

TestingFinished = 3064

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

ZombiedConnection = 3010

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

Members

ReIdentifying = 3066

Shard is re-identifying therefore the old connection needs to be closed.

Resharded = 3065

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

ResumeClosingOldConnection = 3024

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

Shutdown = 3000

A regular Shard shutdown.

TestingFinished = 3064

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

ZombiedConnection = 3010

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