Share via


RequestDelegate Delegate

Definition

A function that can process an HTTP request.

public delegate System::Threading::Tasks::Task ^ RequestDelegate(HttpContext ^ context);
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

The HttpContext for the request.

Return Value

A task that represents the completion of request processing.

Applies to