Share via


WebSocketStreamingConnection Class

Definition

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
WebSocketStreamingConnection

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)

Applies to