BotFrameworkConfigurationBuilder.UseHttpClient(HttpClient) BotFrameworkConfigurationBuilder.UseHttpClient(HttpClient) Method

Definition

Sets the HttpClient instance that will be used to make Bot Framework Service calls.

public Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkConfigurationBuilder UseHttpClient (System.Net.Http.HttpClient httpClient);
member this.UseHttpClient : System.Net.Http.HttpClient -> Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkConfigurationBuilder

Parameters

httpClient
HttpClient HttpClient

The HttpClient to be used when calling the Bot Framework Service.

Returns

Applies to