示例#1
0
        Task ProcessWebSocketRequest(AspNetWebSocketContext context)
        {
            var socket     = context.WebSocket;
            var connection = new DemoWebSocketHandler(socket);

            return(connection.Start());
        }
		Task ProcessWebSocketRequest(AspNetWebSocketContext context)
		{
			var socket = context.WebSocket;
			var connection = new DemoWebSocketHandler(socket);
			return connection.Start();
		}