websocket-client
websocket-client copied to clipboard
ReconnectionHappened.Subscribe not work
I use your demo to connect a wrong url. connection is not successful then called DisconnectionHappened .that's right. but when client try to reconnect ,the ReconnectionHappened.Subscribe not work so I will get a lot of DisconnectionHappened message like this
Starting...
Disconnection happened, type: Error
Disconnection happened, type: Error
Disconnection happened, type: Error
Disconnection happened, type: Error
Disconnection happened, type: Error
Hey @97686773 ,
this is how it is supposed to work right now, ReconnectionHappened is called only when it successfully reconnects to the server.
Otherwise only DisconnectionHappened is called.