BotHttpClient Class
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.
Provides shared HTTP request functionality for bot clients.
public class BotHttpClient
type BotHttpClient = class
Public Class BotHttpClient
- Inheritance
-
BotHttpClient
Constructors
| Name | Description |
|---|---|
| BotHttpClient(HttpClient, ILogger) |
Provides shared HTTP request functionality for bot clients. |
Methods
| Name | Description |
|---|---|
| SendAsync(HttpMethod, String, String, BotRequestOptions, CancellationToken) |
Sends an HTTP request without expecting a response body. |
| SendAsync(HttpMethod, String, String, Dictionary<String,String>, String, BotRequestOptions, CancellationToken) |
Sends an HTTP request with query parameters without expecting a response body. |
| SendAsync<T>(HttpMethod, String, String, BotRequestOptions, CancellationToken) |
Sends an HTTP request and deserializes the response. |
| SendAsync<T>(HttpMethod, String, String, Dictionary<String,String>, String, BotRequestOptions, CancellationToken) |
Sends an HTTP request with query parameters and deserializes the response. |