BotMessageHandlerBase.HandleAsync(HttpContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.