Class FixedWindowRateLimitingOptions
- Namespace
- ProjectTemplate.Web.Options
- Assembly
- ProjectTemplate.Web.dll
Represents fixed-window rate limiting configuration.
public sealed class FixedWindowRateLimitingOptions
- Inheritance
-
FixedWindowRateLimitingOptions
- Inherited Members
Properties
PermitLimit
Maximum number of permits allowed per window.
public int PermitLimit { get; set; }
Property Value
QueueLimit
Maximum number of requests allowed to queue when the permit limit is reached.
public int QueueLimit { get; set; }
Property Value
WindowSeconds
Length of the fixed window in seconds.
public int WindowSeconds { get; set; }