CloudAdapter.CreateWebSocketConnection(WebSocket, ILogger) Method
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.
Creates a StreamingConnection that uses web sockets.
protected virtual Microsoft.Bot.Connector.Streaming.Application.StreamingConnection CreateWebSocketConnection (System.Net.WebSockets.WebSocket socket, Microsoft.Extensions.Logging.ILogger logger);
abstract member CreateWebSocketConnection : System.Net.WebSockets.WebSocket * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Connector.Streaming.Application.StreamingConnection
override this.CreateWebSocketConnection : System.Net.WebSockets.WebSocket * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Connector.Streaming.Application.StreamingConnection
Protected Overridable Function CreateWebSocketConnection (socket As WebSocket, logger As ILogger) As StreamingConnection
Parameters
- logger
- ILogger
Logger implementation for tracing and debugging information.
Returns
StreamingConnection that uses web socket.