BotMessageHandlerBase.HandleAsync(HttpContext) Method

Definition

Handles common behavior for handling requests, including checking valid request method and content type. Processes the request using the registered adapter and bot and writes the result to the response on the HttpContext.

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

Parameters

httpContext
HttpContext

The HttpContext.

Returns

A Task that represents the work to be executed.

Applies to