Table of Contents

Enum FluxerCloseCode

Namespace
Fluxer.Net.Gateway
Assembly
Fluxer.Net.dll

WebSocket close codes specific to the Fluxer Gateway protocol. These codes indicate why a gateway connection was closed.

public enum FluxerCloseCode

Fields

AlreadyAuthenticated = 4005

An authentication payload was sent after already authenticating.

AuthenticationFailed = 4004

The authentication token is invalid.

DecodeError = 4002

An invalid payload was sent that could not be decoded.

DisallowedIntents = 4014

Disallowed gateway intents were specified (requires verification/approval).

InvalidApiVersion = 4012

An invalid API version was specified.

InvalidIntents = 4013

Invalid gateway intents were specified.

InvalidSequence = 4007

The sequence number sent in a RESUME packet was invalid.

InvalidShard = 4010

An invalid shard was specified when connecting.

NotAuthenticated = 4003

A payload was sent before authenticating with the gateway.

RateLimited = 4008

Payloads are being sent too quickly (rate limited).

SessionTimeout = 4009

The session timed out. A new session should be created.

ShardingRequired = 4011

The session requires sharding for this bot to connect.

UnknownError = 4000

Unknown error occurred. The connection may be retried.

UnknownOpcode = 4001

An invalid gateway opcode was sent.