WebSocketStreamingConnection 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.
Default implementation of StreamingConnection for WebSocket transport.
public class WebSocketStreamingConnection : Microsoft.Bot.Connector.Streaming.Application.StreamingConnection
type WebSocketStreamingConnection = class
inherit StreamingConnection
Public Class WebSocketStreamingConnection
Inherits StreamingConnection
- Inheritance
Constructors
WebSocketStreamingConnection(WebSocket, ILogger) |
Initializes a new instance of the WebSocketStreamingConnection class. |
Properties
IsConnected |
Gets a value indicating whether this is currently connected. (Inherited from StreamingConnection) |
Logger |
Gets the ILogger instance for the streaming connection. (Inherited from StreamingConnection) |
Methods
Dispose() | (Inherited from StreamingConnection) |
Dispose(Boolean) |
Disposes managed and unmanaged resources of the underlying StreamingConnection. (Inherited from StreamingConnection) |
ListenAsync(RequestHandler, CancellationToken) |
Opens the StreamingConnection and listens for incoming requests, which will be assembled and sent to the provided RequestHandler. (Inherited from StreamingConnection) |
SendStreamingRequestAsync(StreamingRequest, CancellationToken) |
Sends a streaming request through the connection. (Inherited from StreamingConnection) |