InvokeAsync Method
Definition
- Namespace
- Cuemon.AspNetCore.Http.Throttling
- Assemblies
- Cuemon.AspNetCore.dll
InvokeAsync(HttpContext, IThrottlingCache)
Executes the ThrottlingSentinelMiddleware.
public override Task InvokeAsync(HttpContext context, IThrottlingCache di)
Parameters
contextHttpContextThe context of the current request.
diIThrottlingCacheThe dependency injected IThrottlingCache of InvokeAsync(HttpContext, IThrottlingCache).
Returns
- Task
A task that represents the execution of this middleware.