SocketclusterClientDotNet
SocketclusterClientDotNet copied to clipboard
Crash when reconnect strategy is null and server has error
If reconnect strategy is null
socket.SetReconnectStrategy(null);
OnWebsocketClosed throw an null reference exception.
I too face the same issue. Any help would be much appreciated!
instead of null try using reconnectionstrategy with setmaxattempts(0);