Invokes middleware request processing. Called by the ASP.NET request pipeline.

public Task Invoke(HttpContext context)
Returns:
Task

Parameters

context HttpContext

The current HTTP context.

In this article