HttpConfigurationExtensions HttpConfigurationExtensions HttpConfigurationExtensions Class

Definition

public static class HttpConfigurationExtensions
type HttpConfigurationExtensions = class
Public Module HttpConfigurationExtensions
Inheritance
HttpConfigurationExtensionsHttpConfigurationExtensionsHttpConfigurationExtensions

Methods

MapBotFramework(HttpConfiguration, Action) MapBotFramework(HttpConfiguration, Action)

Map the Bot Framework into the request execution pipeline.

public static System.Web.Http.HttpConfiguration MapBotFramework (this System.Web.Http.HttpConfiguration httpConfiguration, Action<Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkConfigurationBuilder> configurer = null);
static member MapBotFramework : System.Web.Http.HttpConfiguration * Action<Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkConfigurationBuilder> -> System.Web.Http.HttpConfiguration
Parameters
httpConfiguration
System.Web.Http.HttpConfiguration System.Web.Http.HttpConfiguration System.Web.Http.HttpConfiguration

The System.Web.Http.HttpConfiguration to map the bot into.

configurer
Action<BotFrameworkConfigurationBuilder>

A callback to configure the bot.

Returns
System.Web.Http.HttpConfiguration System.Web.Http.HttpConfiguration System.Web.Http.HttpConfiguration

A reference to this instance after the operation has completed.

Applies to