RequestDelegate RequestDelegate RequestDelegate Delegate

Definition

A function that can process an HTTP request.

public delegate System.Threading.Tasks.Task RequestDelegate(HttpContext context);
type RequestDelegate = delegate of HttpContext -> Task
Public Delegate Function RequestDelegate(context As HttpContext) As Task 

Parameters

context
HttpContext HttpContext HttpContext

The HttpContext for the request.

Return Value

System.Threading.Tasks.Task

A task that represents the completion of request processing.

Inheritance
RequestDelegateRequestDelegateRequestDelegate

Applies to