AdaptativeLimiterOptions class
Options for adaptative concurrency limiter.
public class AdaptativeLimiterOptions
Public Members
name | description |
---|---|
ConcurrencyOptions { get; } | Gets the Concurrency Options. |
UseEndpointPriorityResolver() | Sets the EndpointPriorityResolver, it loads the priority from the controller action attribute EndpointPriorityAttribute. |
UseHeaderPriorityResolver() | Sets the HttpHeaderPriorityResolver, it converts the header X-Priority to the request priority (critical, normal, noncritical). |
UseHeaderPriorityResolver(…) | Configures the priority resolver based on a specific HTTP header. |
UsePriorityResolver(…) | Sets a custom priority resolver function. (2 methods) |
See Also
- namespace Farfetch.LoadShedding.AspNetCore.Options