-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Websocket behavior in case of connection issues #678
Comments
Hey @gitmalong,
No, that's something you have to implement yourself. We had some discussions about in the past see #236 for further info.
You have to check that yourself by either Client::is_closed or if any call returns However, one improvement could be get a callback via future or something to triggers once connection is closed. |
Closing this because I answered your question, re-open again if something wasn't not clear in my answer. |
Hi!
Does the Websocket client automatically reestablish terminated connections and re-subscribe or is that something I have to implement on top? If the latter is true what would be a good starting point?
I basically want to ensure that the connection is active whenever possible and don't loose any subscriptions.
Thanks for these insights.
The text was updated successfully, but these errors were encountered: