Share via


SkillHttpClient Class

Definition

Caution

Use BotFrameworkAuthentication.CreateBotFrameworkClient() to obtain a client and perform the operations that were accomplished through SkillHttpClient.

A BotFrameworkHttpClientspecialized for Skills that encapsulates Conversation ID generation.

[System.Obsolete("Use BotFrameworkAuthentication.CreateBotFrameworkClient() to obtain a client and perform the operations that were accomplished through SkillHttpClient.")]
public class SkillHttpClient : Microsoft.Bot.Builder.Integration.AspNet.Core.BotFrameworkHttpClient
[<System.Obsolete("Use BotFrameworkAuthentication.CreateBotFrameworkClient() to obtain a client and perform the operations that were accomplished through SkillHttpClient.")>]
type SkillHttpClient = class
    inherit BotFrameworkHttpClient
Public Class SkillHttpClient
Inherits BotFrameworkHttpClient
Inheritance
Attributes

Constructors

SkillHttpClient(HttpClient, ICredentialProvider, SkillConversationIdFactoryBase, IChannelProvider, ILogger)

Initializes a new instance of the SkillHttpClient class.

Properties

ChannelProvider

Gets the channel provider for this adapter.

(Inherited from BotFrameworkHttpClient)
CredentialProvider

Gets the credential provider for this adapter.

(Inherited from BotFrameworkHttpClient)
HttpClient

Gets the HttpClient for this adapter.

(Inherited from BotFrameworkHttpClient)
Logger

Gets the logger for this adapter.

(Inherited from BotFrameworkHttpClient)

Methods

BuildCredentialsAsync(String, String)

Logic to build an AppCredentials object to be used to acquire tokens for this HttpClient.

(Inherited from BotFrameworkHttpClient)
Dispose() (Inherited from BotFrameworkClient)
Dispose(Boolean)

Protected implementation of dispose pattern.

(Inherited from BotFrameworkClient)
PostActivityAsync(String, BotFrameworkSkill, Uri, Activity, CancellationToken)

Forwards an activity to a skill (bot).

PostActivityAsync(String, String, Uri, Uri, String, Activity, CancellationToken)

Forwards an activity to a skill (bot).

(Inherited from BotFrameworkHttpClient)
PostActivityAsync(String, Uri, Activity, CancellationToken)

Post Activity to the bot using the bot's credentials.

(Inherited from BotFrameworkHttpClient)
PostActivityAsync<T>(String, BotFrameworkSkill, Uri, Activity, CancellationToken)

Forwards an activity to a skill (bot).

PostActivityAsync<T>(String, String, BotFrameworkSkill, Uri, Activity, CancellationToken)

Uses the SkillConversationIdFactory to create or retrieve a Skill Conversation Id, and sends the activity.

PostActivityAsync<T>(String, String, Uri, Uri, String, Activity, CancellationToken)

Forwards an activity to a skill (bot).

(Inherited from BotFrameworkHttpClient)
PostActivityAsync<T>(String, Uri, Activity, CancellationToken)

Post Activity to the bot using the bot's credentials.

(Inherited from BotFrameworkHttpClient)

Applies to