D++ (DPP)
C++ Discord API Bot Library
|
#include <queues.h>
Public Attributes | |
uint64_t | limit |
uint64_t | remaining |
uint64_t | reset_after |
uint64_t | retry_after |
time_t | timestamp |
A rate limit bucket. The library builds one of these for each endpoint.
uint64_t dpp::bucket_t::limit |
Request limit
uint64_t dpp::bucket_t::remaining |
Requests remaining
uint64_t dpp::bucket_t::reset_after |
Ratelimit of this bucket resets after this many seconds
uint64_t dpp::bucket_t::retry_after |
Ratelimit of this bucket can be retried after this many seconds
time_t dpp::bucket_t::timestamp |
Timestamp this buckets counters were updated