#include <string>
#include <iostream>
#include <fstream>
#include <dpp/exception.h>
#include <dpp/discordclient.h>
#include <dpp/cache.h>
#include <dpp/cluster.h>
#include <thread>
#include <dpp/json.h>
#include <dpp/etf.h>
#include <zlib.h>
#include <unistd.h>
#include <netinet/in.h>
#include <resolv.h>
#include <netdb.h>
#include <sys/socket.h>
#include <netinet/tcp.h>
Classes | |
class | dpp::zlibcontext |
This is an opaque class containing zlib library specific structures. More... | |
Namespaces | |
dpp | |
The main namespace for D++ functions. | |
Macros | |
#define | DECOMP_BUFFER_SIZE 512 * 1024 |
#define | DPP_OS unknown |
#define | PATH_COMPRESSED_ETF "/?v=" DISCORD_API_VERSION "&encoding=etf&compress=zlib-stream" |
#define | PATH_COMPRESSED_JSON "/?v=" DISCORD_API_VERSION "&encoding=json&compress=zlib-stream" |
#define | PATH_UNCOMPRESSED_ETF "/?v=" DISCORD_API_VERSION "&encoding=etf" |
#define | PATH_UNCOMPRESSED_JSON "/?v=" DISCORD_API_VERSION "&encoding=json" |
#define | STRINGIFY(a) STRINGIFY_(a) |
#define | STRINGIFY_(a) #a |
Variables | |
static thread_local std::string | dpp::last_ping_message |
Stores the most recent ping message on this shard, which we check for to monitor latency. More... | |
#define DECOMP_BUFFER_SIZE 512 * 1024 |
#define DPP_OS unknown |
#define PATH_COMPRESSED_ETF "/?v=" DISCORD_API_VERSION "&encoding=etf&compress=zlib-stream" |
#define PATH_COMPRESSED_JSON "/?v=" DISCORD_API_VERSION "&encoding=json&compress=zlib-stream" |
#define PATH_UNCOMPRESSED_ETF "/?v=" DISCORD_API_VERSION "&encoding=etf" |
#define PATH_UNCOMPRESSED_JSON "/?v=" DISCORD_API_VERSION "&encoding=json" |
#define STRINGIFY | ( | a | ) | STRINGIFY_(a) |
#define STRINGIFY_ | ( | a | ) | #a |