Share via


WebSocketStreamingConnection(WebSocket, ILogger) Constructor

Definition

Initializes a new instance of the WebSocketStreamingConnection class.

public WebSocketStreamingConnection (System.Net.WebSockets.WebSocket socket, Microsoft.Extensions.Logging.ILogger logger);
new Microsoft.Bot.Connector.Streaming.Application.WebSocketStreamingConnection : System.Net.WebSockets.WebSocket * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Connector.Streaming.Application.WebSocketStreamingConnection
Public Sub New (socket As WebSocket, logger As ILogger)

Parameters

socket
WebSocket

WebSocket instance on which streams are transported between client and server.

logger
ILogger

ILogger for the connection.

Applies to