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