Table of Contents

InvokeAsync Method

Definition

InvokeAsync(HttpContext, IThrottlingCache)

public override Task InvokeAsync(HttpContext context, IThrottlingCache di)

Parameters

context HttpContext

The context of the current request.

di IThrottlingCache

The dependency injected IThrottlingCache of InvokeAsync(HttpContext, IThrottlingCache).

Returns

Task

A task that represents the execution of this middleware.