Compartilhar via


CloudAdapter.CreateWebSocketConnection(WebSocket, ILogger) Método

Definição

Cria um StreamingConnection que usa soquetes da Web.

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

Parâmetros

socket
WebSocket

WebSocket instância na qual os fluxos são transportados entre o cliente e o servidor.

logger
ILogger

Implementação do agente para rastrear e depurar informações.

Retornos

StreamingConnection que usa o soquete da Web.

Aplica-se a