D++ (DPP)  10.0.30
C++ Discord API Bot Library
wsclient.h File Reference
#include <dpp/export.h>
#include <string>
#include <map>
#include <vector>
#include <variant>
#include <dpp/sslclient.h>
Include dependency graph for wsclient.h:
This graph shows which files directly or indirectly include this file:

Classes

class  dpp::websocket_client
 Implements a websocket client based on the SSL client. More...
 

Namespaces

 dpp
 The main namespace for D++ functions.
 

Enumerations

enum  dpp::websocket_protocol_t : uint8_t {
  dpp::ws_json = 0,
  dpp::ws_etf = 1
}
 Websocket protocol types available on Discord. More...
 
enum  dpp::ws_opcode : uint8_t {
  dpp::OP_CONTINUATION = 0x00,
  dpp::OP_TEXT = 0x01,
  dpp::OP_BINARY = 0x02,
  dpp::OP_CLOSE = 0x08,
  dpp::OP_PING = 0x09,
  dpp::OP_PONG = 0x0a
}
 Low-level websocket opcodes for frames. More...
 
enum  dpp::ws_state : uint8_t {
  dpp::HTTP_HEADERS,
  dpp::CONNECTED
}
 Websocket connection status. More...