public SshOverWebSocketsTunnel()

in src/Azure.AppService.Tunnel/Tunnel/SshOverWebSocketsTunnel.cs [24:32]


    public SshOverWebSocketsTunnel(AspNetWebSocketContext context)
    {
        _context = context;
        _socketConnection = new ClientSocketConnection(Lifetime);
        _webSocketConnection = new WebSocketConnection(context.WebSocket);
        
        _socketConnection.DataReceived.Advise(Lifetime, data => _webSocketConnection.Send(data));
        _webSocketConnection.OnBinaryMessage.Advise(Lifetime, data => _socketConnection.Send(data));
    }