Partilhar via


BotFrameworkConfigurationBuilder.UseHttpClient(HttpClient) Método

Definição

Define a HttpClient instância que será utilizada para fazer chamadas do Bot Framework Service.

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
Public Function UseHttpClient (httpClient As HttpClient) As BotFrameworkConfigurationBuilder

Parâmetros

httpClient
HttpClient

O HttpClient a ser utilizado ao chamar o Bot Framework Service.

Devoluções

BotFrameworkConfigurationBuilder instância com o HttpClient conjunto.

Aplica-se a