Share via


RewriteMiddleware.Invoke(HttpContext) Method

Definition

Executes the middleware.

public:
 System::Threading::Tasks::Task ^ Invoke(Microsoft::AspNetCore::Http::HttpContext ^ context);
public System.Threading.Tasks.Task Invoke (Microsoft.AspNetCore.Http.HttpContext context);
member this.Invoke : Microsoft.AspNetCore.Http.HttpContext -> System.Threading.Tasks.Task
Public Function Invoke (context As HttpContext) As Task

Parameters

context
HttpContext

The HttpContext for the current request.

Returns

A task that represents the execution of this middleware.

Applies to