How do I get this to work:
using (var ws = new WebSocket("wss://echo.websocket.org"))
{
ws.OnMessage += (sender, e) =>
Console.WriteLine("RESPONSE: " + e.Data);
ws.Connect();
ws.Send("TEST SEND");
Console.ReadKey(true);
}
The error is:
Authentication failed because the remote party has closed the transport stream.