D++ (DPP)  10.0.30
C++ Discord API Bot Library
queues.h File Reference
#include <dpp/export.h>
#include <unordered_map>
#include <string>
#include <queue>
#include <map>
#include <thread>
#include <shared_mutex>
#include <vector>
#include <functional>
#include <condition_variable>
Include dependency graph for queues.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  dpp::bucket_t
 A rate limit bucket. More...
 
struct  dpp::request_queue::completed_request
 A completed request. More...
 
class  dpp::http_request
 A HTTP request. More...
 
struct  dpp::http_request_completion_t
 The result of any HTTP request. More...
 
class  dpp::in_thread
 Represents a thread in the thread pool handling requests to HTTP(S) servers. More...
 
struct  dpp::request_queue::queued_deleting_request
 A request queued for deletion in the queue. More...
 
class  dpp::request_queue
 The request_queue class manages rate limits and marshalls HTTP requests that have been built as http_request objects. More...
 

Namespaces

 dpp
 The main namespace for D++ functions.
 

Typedefs

typedef std::function< void(const http_request_completion_t &)> dpp::http_completion_event
 Results of HTTP requests are called back to these std::function types. More...
 

Enumerations

enum  dpp::http_error {
  dpp::h_success = 0,
  dpp::h_unknown,
  dpp::h_connection,
  dpp::h_bind_ip_address,
  dpp::h_read,
  dpp::h_write,
  dpp::h_exceed_redirect_count,
  dpp::h_canceled,
  dpp::h_ssl_connection,
  dpp::h_ssl_loading_certs,
  dpp::h_ssl_server_verification,
  dpp::h_unsupported_multipart_boundary_chars,
  dpp::h_compression
}
 Error values. More...
 
enum  dpp::http_method {
  dpp::m_get,
  dpp::m_post,
  dpp::m_put,
  dpp::m_patch,
  dpp::m_delete
}
 Various types of http method supported by the Discord API. More...