update socket.io

This commit is contained in:
rafael-aero
2022-03-07 23:13:16 +01:00
parent 7f282c1346
commit 8f26ceed3d
3 changed files with 96 additions and 252 deletions

View File

@@ -438,11 +438,11 @@ namespace ElectronNET.API
{
var socket = new SocketIO($"http://localhost:{BridgeSettings.SocketPort}", new SocketIOOptions()
{
EIO = 3,
EIO = 4,
Reconnection = true,
ReconnectionAttempts = int.MaxValue,
ReconnectionDelay = 500,
ReconnectionDelayMax = 5000,
ReconnectionDelayMax = 2000,
RandomizationFactor = 0.5,
ConnectionTimeout = TimeSpan.FromSeconds(10)
});