Method |
Description |
|
ApplyRules ( RequestIdentity identity, System.TimeSpan timeSpan, RateLimitPeriod rateLimitPeriod, long &rateLimit ) : void |
|
|
ComputeLogEntry ( string requestId, RequestIdentity identity, WebApiThrottle.ThrottleCounter throttleCounter, string rateLimitPeriod, long rateLimit, HttpRequestMessage request ) : WebApiThrottle.ThrottleLogEntry |
|
|
ComputeThrottleKey ( RequestIdentity requestIdentity, RateLimitPeriod period ) : string |
|
|
ContainsIp ( List ipRules, string clientIp ) : bool |
|
|
ContainsIp ( List ipRules, string clientIp, string &rule ) : bool |
|
|
GetClientIp ( HttpRequestMessage request ) : IPAddress |
|
|
GetTimeSpanFromPeriod ( RateLimitPeriod rateLimitPeriod ) : System.TimeSpan |
|
|
IsWhitelisted ( RequestIdentity requestIdentity ) : bool |
|
|
ProcessRequest ( RequestIdentity requestIdentity, System.TimeSpan timeSpan, RateLimitPeriod period, string &id ) : WebApiThrottle.ThrottleCounter |
|
|
RatesWithDefaults ( long>.List defRates ) : long>>.List |
|
|
RetryAfterFrom ( System.DateTime timestamp, RateLimitPeriod period ) : string |
|
|