RateLimiterOptionsExtensions Class

Definition

Extension methods for the RateLimiting middleware options.

public static class RateLimiterOptionsExtensions
type RateLimiterOptionsExtensions = class
Public Module RateLimiterOptionsExtensions
Inheritance
RateLimiterOptionsExtensions

Methods

AddConcurrencyLimiter(RateLimiterOptions, String, Action<ConcurrencyLimiterOptions>)

Adds a new ConcurrencyLimiter with the given ConcurrencyLimiterOptions to the RateLimiterOptions.

AddFixedWindowLimiter(RateLimiterOptions, String, Action<FixedWindowRateLimiterOptions>)

Adds a new FixedWindowRateLimiter with the given FixedWindowRateLimiterOptions to the RateLimiterOptions.

AddSlidingWindowLimiter(RateLimiterOptions, String, Action<SlidingWindowRateLimiterOptions>)

Adds a new SlidingWindowRateLimiter with the given SlidingWindowRateLimiterOptions to the RateLimiterOptions.

AddTokenBucketLimiter(RateLimiterOptions, String, Action<TokenBucketRateLimiterOptions>)

Adds a new TokenBucketRateLimiter with the given TokenBucketRateLimiterOptions to the RateLimiterOptions.

Applies to