InvokeThrottlerSentinelAsync Method
Definition
- Namespace
- Cuemon.AspNetCore.Http
- Assemblies
- Cuemon.AspNetCore.dll
InvokeThrottlerSentinelAsync(IDecorator<HttpContext>, IThrottlingCache, ThrottlingSentinelOptions)
Common throttler operation logic for ASP.NET Core and ASP.NET Core MVC. Not intended to be used directly from your code.
public static Task InvokeThrottlerSentinelAsync(this IDecorator<HttpContext> decorator, IThrottlingCache tc, ThrottlingSentinelOptions options)
Parameters
decoratorIDecorator<HttpContext>The IDecorator<T> to extend.
tcIThrottlingCacheThe IThrottlingCache implementation.
optionsThrottlingSentinelOptionsThe configured options.