WebSocket4Net
WebSocket4Net copied to clipboard
TLS Example
I am trying to connect to a websocket server using TLS and I am receiving a exception "The authentication or decryption has failed."
The URI I am passing is :
"wss://ortc-developers2-uswest2-s0001.realtime.co:443/broadcast/926/WNWJYJUQ/websocket"
My constructor looks like
_websocket = new WebSocket(uri, SslProtocols.Tls12.ToString(), WebSocketVersion.Rfc6455);
(I am pretty sure this is wrong, but I do not see any docs)