<PackageReference Include="System.Threading.RateLimiting" Version="11.0.0-preview.4.26230.115" />

System.Threading.RateLimiting.FixedWindowRateLimiterOptions

public sealed class FixedWindowRateLimiterOptions
Options to specify the behavior of a FixedWindowRateLimiter.
public bool AutoReplenishment { get; set; }

Specified whether the FixedWindowRateLimiter is automatically refresh counters or if someone else will be calling TryReplenish to refresh counters.

public int PermitLimit { get; set; }

Maximum number of permit counters that can be allowed in a window. Must be set to a value > 0 by the time these options are passed to the constructor of FixedWindowRateLimiter.

public int QueueLimit { get; set; }

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 FixedWindowRateLimiter.

Determines the behaviour of AcquireAsync when not enough resources can be leased.

public TimeSpan Window { get; set; }

Specifies the time window that takes in the requests. Must be set to a value greater than Zero by the time these options are passed to the constructor of FixedWindowRateLimiter.