websocket-client icon indicating copy to clipboard operation
websocket-client copied to clipboard

ReconnectionHappened.Subscribe not work

Open 97686773 opened this issue 3 years ago • 1 comments

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

97686773 avatar Oct 25 '22 10:10 97686773

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.

Marfusios avatar Dec 19 '22 08:12 Marfusios