dpp::http_request_completion_t
queues.h
std::string std::string dpp::http_request_completion_t::body body dpp::http_request_completion_t::body

Reply body.

http_error http_error dpp::http_request_completion_t::error error dpp::http_request_completion_t::error = h_success

Error status. e.g. if the request could not connect at all.

std::multimap< std::string, std::string > std::multimap<std::string, std::string> dpp::http_request_completion_t::headers headers dpp::http_request_completion_t::headers

HTTP headers of response.

double double dpp::http_request_completion_t::latency latency dpp::http_request_completion_t::latency

Ping latency.

std::string std::string dpp::http_request_completion_t::ratelimit_bucket ratelimit_bucket dpp::http_request_completion_t::ratelimit_bucket

Ratelimit bucket.

bool bool dpp::http_request_completion_t::ratelimit_global ratelimit_global dpp::http_request_completion_t::ratelimit_global = false

True if this request has caused us to be globally rate limited.

uint64_t uint64_t dpp::http_request_completion_t::ratelimit_limit ratelimit_limit dpp::http_request_completion_t::ratelimit_limit = 0

Ratelimit limit of requests.

uint64_t uint64_t dpp::http_request_completion_t::ratelimit_remaining ratelimit_remaining dpp::http_request_completion_t::ratelimit_remaining = 0

Ratelimit remaining requests.

uint64_t uint64_t dpp::http_request_completion_t::ratelimit_reset_after ratelimit_reset_after dpp::http_request_completion_t::ratelimit_reset_after = 0

Ratelimit reset after (seconds).

uint64_t uint64_t dpp::http_request_completion_t::ratelimit_retry_after ratelimit_retry_after dpp::http_request_completion_t::ratelimit_retry_after = 0

Ratelimit retry after (seconds).

uint16_t uint16_t dpp::http_request_completion_t::status status dpp::http_request_completion_t::status = 0

HTTP status. e.g. 200 = OK, 404 = Not found, 429 = Rate limited, etc.

The result of any HTTP request. Contains the headers, vital rate limit figures, and returned request body.

K
T
bool
double
dpp::http_request_completion_t
headers
status
error
body
ratelimit_bucket
ratelimit_limit
ratelimit_remaining
ratelimit_reset_after
ratelimit_retry_after
ratelimit_global
latency
http_error
std::basic_string< Char >
std::multimap< K, T >
keys
elements
std::multimap< std::string, std::string >
< std::string, std::string >
std::string
uint16_t
uint64_t
- dpp::http_request_completion_t
  body
- dpp::http_request_completion_t
  error
- dpp::http_request_completion_t
  headers
- dpp::http_request_completion_t
  latency
- dpp::http_request_completion_t
  ratelimit_bucket
- dpp::http_request_completion_t
  ratelimit_global
- dpp::http_request_completion_t
  ratelimit_limit
- dpp::http_request_completion_t
  ratelimit_remaining
- dpp::http_request_completion_t
  ratelimit_reset_after
- dpp::http_request_completion_t
  ratelimit_retry_after
- dpp::http_request_completion_t
  status