Language

BotHttpClient Class

Definition

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.

Applies to