SocketIOUnity
SocketIOUnity copied to clipboard
WSS support
Does this library supports wss? With WS all works great, but with wss i can't connect to server.
you can set the Transport propoerty to SocketIOClient.Transport.TransportProtocol.WebSocket
var uri = new Uri("https://www.example.com");
socket = new SocketIOUnity(uri, new SocketIOOptions
{
Query = new Dictionary<string, string>
{
{"token", "UNITY" }
}
,
Transport = SocketIOClient.Transport.TransportProtocol.WebSocket
});
otherwise check with the original repo https://github.com/doghappy/socket.io-client-csharp