System.Threading.RateLimiting.SlidingWindowRateLimiterOptions
Options to specify the behavior of a SlidingWindowRateLimiter.
Specified whether the SlidingWindowRateLimiter is automatically replenishing request counters or if someone else
will be calling TryReplenish to replenish tokens.
Maximum number of requests that can be served in a window.
Must be set to a value > 0 by the time these options are passed to the constructor of SlidingWindowRateLimiter.
Maximum cumulative permit count of queued acquisition requests.
Must be set to a value >= 0 by the time these options are passed to the constructor of SlidingWindowRateLimiter.
Determines the behaviour of AcquireAsync when not enough resources can be leased.
Specifies the maximum number of segments a window is divided into.
Must be set to a value > 0 by the time these options are passed to the constructor of SlidingWindowRateLimiter.
Specifies the minimum period between replenishments.
Must be set to a value greater than Zero by the time these options are passed to the constructor of SlidingWindowRateLimiter.
public SlidingWindowRateLimiterOptions()