DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
DiscordCoreInternal::WebSocketClose Class Reference

Websocket close codes. More...

#include <Utilities.hpp>

Public Types

enum class  WebSocketCloseCode : uint16_t {
  WebSocketCloseCode::Unset = 1 << 0 , WebSocketCloseCode::Normal_Close = 1 << 1 , WebSocketCloseCode::Unknown_Error = 1 << 2 , WebSocketCloseCode::Unknown_Opcode = 1 << 3 ,
  WebSocketCloseCode::Decode_Error = 1 << 4 , WebSocketCloseCode::Not_Authenticated = 1 << 5 , WebSocketCloseCode::Authentication_Failed = 1 << 6 , WebSocketCloseCode::Already_Authenticated = 1 << 7 ,
  WebSocketCloseCode::Invalid_Seq = 1 << 8 , WebSocketCloseCode::Rate_Limited , WebSocketCloseCode::Session_Timed = 1 << 10 , WebSocketCloseCode::Invalid_Shard = 1 << 11 ,
  WebSocketCloseCode::Sharding_Required , WebSocketCloseCode::Invalid_API_Version = 1 << 13 , WebSocketCloseCode::Invalid_Intent = 1 << 14 , WebSocketCloseCode::Disallowed_Intent ,
  We_Do_Reconnect , We_Do_Not_Reconnect = Authentication_Failed | Invalid_Shard | Sharding_Required | Invalid_API_Version | Invalid_Intent | Disallowed_Intent
}
 Websocket close codes. More...
 

The documentation for this class was generated from the following files: