WebSocketClient 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.
Web socket client.
public class WebSocketClient : Microsoft.Bot.Connector.Streaming.Application.StreamingTransportClient
type WebSocketClient = class
inherit StreamingTransportClient
Public Class WebSocketClient
Inherits StreamingTransportClient
- Inheritance
Constructors
WebSocketClient(WebSocket, String, RequestHandler, Nullable<TimeSpan>, Nullable<TimeSpan>, ILogger) |
Initializes a new instance of the WebSocketClient class. |
Properties
IsConnected |
Gets a value indicating whether this client is currently connected. (Inherited from StreamingTransportClient) |
Logger |
Gets the ILogger instance for the streaming client. (Inherited from StreamingTransportClient) |
Methods
ConnectAsync() |
The task used to establish a connection for this client. (Inherited from StreamingTransportClient) |
ConnectAsync(IDictionary<String,String>, CancellationToken) |
Establish a client connection passing along additional headers, and a cancellation token. (Inherited from StreamingTransportClient) |
ConnectAsync(IDictionary<String,String>) |
Establish a connection passing along additional headers. (Inherited from StreamingTransportClient) |
Disconnect() |
Method used to disconnect this client. (Inherited from StreamingTransportClient) |
DisconnectAsync() |
Disconnects. (Inherited from StreamingTransportClient) |
Dispose() | (Inherited from StreamingTransportClient) |
Dispose(Boolean) |
Disposes objects used by the StreamingTransportClient. (Inherited from StreamingTransportClient) |
SendAsync(StreamingRequest, CancellationToken) |
Task used to send data over this client connection. (Inherited from StreamingTransportClient) |
Events
Disconnected |
An event used to signal when the underlying connection has disconnected. (Inherited from StreamingTransportClient) |