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

Classes

struct  dpp::http_connect_info
 Represents a HTTP scheme, hostname and port split into parts for easy use in https_client. More...
 
class  dpp::https_client
 Implements a HTTPS socket client based on the SSL client. More...
 
struct  dpp::multipart_content
 Represents a multipart mime body and the correct top-level mime type If a non-multipart request is passed in, this is represented as a plain body and the application/json mime type. More...
 

Namespaces

 dpp
 The main namespace for D++ functions.
 

Typedefs

typedef std::multimap< std::string, std::string > dpp::http_headers
 Request headers. More...
 

Enumerations

enum  dpp::http_state : uint8_t {
  dpp::HTTPS_HEADERS,
  dpp::HTTPS_CONTENT,
  dpp::HTTPS_DONE,
  dpp::HTTPS_CHUNK_LEN,
  dpp::HTTPS_CHUNK_TRAILER,
  dpp::HTTPS_CHUNK_LAST,
  dpp::HTTPS_CHUNK_CONTENT
}
 HTTP connection status. More...
 

Variables

static constexpr const char * dpp::DISCORD_HOST = "https://discord.com"
 
static const std::string dpp::http_version