StreamingTransportClient 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.
Implemented by clients compatible with the Bot Framework Protocol 3 with Streaming Extensions.
public abstract class StreamingTransportClient : IDisposable, Microsoft.Bot.Streaming.Transport.IStreamingTransportClient
type StreamingTransportClient = class
interface IStreamingTransportClient
interface IDisposable
Public MustInherit Class StreamingTransportClient
Implements IDisposable, IStreamingTransportClient
- Inheritance
-
StreamingTransportClient
- Derived
- Implements
Constructors
StreamingTransportClient(String, RequestHandler, Nullable<TimeSpan>, Nullable<TimeSpan>, ILogger) |
Initializes a new instance of the StreamingTransportClient class. |
Properties
IsConnected |
Gets a value indicating whether this client is currently connected. |
Logger |
Gets the ILogger instance for the streaming client. |
Methods
ConnectAsync() |
The task used to establish a connection for this client. |
ConnectAsync(IDictionary<String,String>, CancellationToken) |
Establish a client connection passing along additional headers, and a cancellation token. |
ConnectAsync(IDictionary<String,String>) |
Establish a connection passing along additional headers. |
Disconnect() |
Method used to disconnect this client. |
DisconnectAsync() |
Disconnects. |
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Dispose(Boolean) |
Disposes objects used by the StreamingTransportClient. |
SendAsync(StreamingRequest, CancellationToken) |
Task used to send data over this client connection. |
Events
Disconnected |
An event used to signal when the underlying connection has disconnected. |