Class RateLimiterStrategyOptions
- Namespace
- Polly.Rate
Limiting
- Assembly
- Polly.RateLimiting.dll
Options for the rate limiter strategy.
- Inheritance
-
Rate
Limiter Strategy Options
- Inherited Members
Constructors
RateLimiterStrategyOptions()
Initializes a new instance of the Rate
Properties
DefaultRateLimiterOptions
Gets or sets the default rate limiter options.
Property Value
Remarks
The options for the default limiter that will be used when Rate
Permit
OnRejected
Gets or sets an event that is raised when the execution of user-provided callback is rejected by the rate limiter.
Property Value
- Func<On
Rate , ValueLimiter Rejected Arguments Task > The default value is null.
RateLimiter
Gets or sets a rate limiter delegate that produces Rate
Property Value
- Func<Rate
Limiter , ValueArguments Task <RateLimit >>Lease The default value is null. If this property is null, then the strategy will use a Concurrency
Limiter created using DefaultRate .Limiter Options