RiotNet
8.0.0
A C#/.NET client for the Riot Games API.
|
Represents a request count for a rate limiting rule. More...
Public Member Functions | |
DateTime | GetDelayTime (string platformId, DateTime now) |
Gets the time to delay until for a single rate limit rule. More... | |
Public Attributes | |
RateLimitRule | Rule |
The rule being tracked. More... | |
ConcurrentDictionary< string, RequestCount > | RequestCounts = new ConcurrentDictionary<string, RequestCount>() |
The list of recent request counts for each PlatformId. More... | |
Represents a request count for a rate limiting rule.
|
inline |
Gets the time to delay until for a single rate limit rule.
platformId | The platform ID of the default server to connect to. This should equal one of the Models.PlatformId values. |
now | The current time in UTC. |
ConcurrentDictionary<string, RequestCount> RiotNet.RateLimiter.RateLimitTracker.RequestCounts = new ConcurrentDictionary<string, RequestCount>() |
The list of recent request counts for each PlatformId.
RateLimitRule RiotNet.RateLimiter.RateLimitTracker.Rule |
The rule being tracked.