ConnectorClient.AddDefaultRequestHeaders(HttpClient) 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.
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.