D++ (DPP)  10.0.30
C++ Discord API Bot Library
wsclient.cpp File Reference
#include <string>
#include <iostream>
#include <fstream>
#include <dpp/wsclient.h>
#include <dpp/utility.h>
#include <dpp/httpsclient.h>
#include <dpp/discordevents.h>
Include dependency graph for wsclient.cpp:

Namespaces

 dpp
 The main namespace for D++ functions.
 

Variables

constexpr size_t dpp::MAXHEADERSIZE = sizeof(uint64_t) + 2
 
constexpr unsigned char dpp::WS_FINBIT = (1u << 7u)
 
constexpr unsigned char dpp::WS_MASKBIT = (1u << 7u)
 
constexpr size_t dpp::WS_MAX_PAYLOAD_LENGTH_LARGE = 65535
 
constexpr size_t dpp::WS_MAX_PAYLOAD_LENGTH_SMALL = 125
 
constexpr unsigned char dpp::WS_PAYLOAD_LENGTH_MAGIC_HUGE = 127
 
constexpr unsigned char dpp::WS_PAYLOAD_LENGTH_MAGIC_LARGE = 126