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

public async Task Invoke(HttpContext context)
Returns:
Task

Parameters

context HttpContext

The current HTTP context.

In this article