AdaptativeLimiterOptions.UsePriorityResolver method (1 of 2)
Sets a custom priority resolver function.
public AdaptativeLimiterOptions UsePriorityResolver(
Func<HttpContext, Task<Priority>> priorityResolverFunc)
parameter | description |
---|---|
priorityResolverFunc | Delegate to resolver the request priority. |
Return Value
AdaptativeLimiterOptions
See Also
- class AdaptativeLimiterOptions
- namespace Farfetch.LoadShedding.AspNetCore.Options
AdaptativeLimiterOptions.UsePriorityResolver method (2 of 2)
Sets a custom priority resolver instance.
public AdaptativeLimiterOptions UsePriorityResolver(IPriorityResolver priorityResolver)
parameter | description |
---|---|
priorityResolver | Priority resolver instance. |
Return Value
AdaptativeLimiterOptions
See Also
- interface IPriorityResolver
- class AdaptativeLimiterOptions
- namespace Farfetch.LoadShedding.AspNetCore.Options