Share via


ConnectorClient.AddDefaultRequestHeaders(HttpClient) Method

Definition

Configures an HTTP client to include default headers for the Bot Framework.

public static void AddDefaultRequestHeaders (System.Net.Http.HttpClient httpClient);
static member AddDefaultRequestHeaders : System.Net.Http.HttpClient -> unit
Public Shared Sub AddDefaultRequestHeaders (httpClient As HttpClient)

Parameters

httpClient
HttpClient

The HTTP client to configure.

Applies to