![]() |
Kurlyk
|
Stores data for an individual rate limit. More...
Public Attributes | |
long | requests_per_period |
Max requests allowed in the period. | |
long | period_ms |
Duration of the period in milliseconds. | |
long | count |
Requests made in the current period. | |
time_point_t | start_time |
Start time of the current rate period. | |
Stores data for an individual rate limit.
Definition at line 148 of file HttpRateLimiter.hpp.
long kurlyk::HttpRateLimiter::LimitData::count |
Requests made in the current period.
Definition at line 151 of file HttpRateLimiter.hpp.
long kurlyk::HttpRateLimiter::LimitData::period_ms |
Duration of the period in milliseconds.
Definition at line 150 of file HttpRateLimiter.hpp.
long kurlyk::HttpRateLimiter::LimitData::requests_per_period |
Max requests allowed in the period.
Definition at line 149 of file HttpRateLimiter.hpp.
time_point_t kurlyk::HttpRateLimiter::LimitData::start_time |
Start time of the current rate period.
Definition at line 152 of file HttpRateLimiter.hpp.