socket.io-client-csharp
socket.io-client-csharp copied to clipboard
'SocketIOOptions' does not contain a definition for 'ExtraHeaders'
Unity 2020 socket.io-client-csharp - v3.0.5
using SocketIOClient;
.....
var client = new SocketIO(this.API_ENDPOINT, new SocketIOOptions
{
ExtraHeaders = new Dictionary<string, string>
{
{"Authorization", $"bearer {jwe}"},
{"SessionID", sessionId }
}
});
https://github.com/doghappy/socket.io-client-csharp/blob/5a164d88463640f8a9874342bcaaf1d3bcfe03cf/src/SocketIOClient.UnitTest/SocketIOTest.cs#L321
sorry?