Skip to content
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

Recognizing when the client fails to connect to the server #50

Open
Antwns opened this issue Jan 13, 2022 · 0 comments
Open

Recognizing when the client fails to connect to the server #50

Antwns opened this issue Jan 13, 2022 · 0 comments

Comments

@Antwns
Copy link

Antwns commented Jan 13, 2022

Is your feature request related to a problem? Please describe.
It would be nice to have a Client.OnConnectionFailure event so we could make it stop reconnecting or add other stuff

Describe the solution you'd like
Like mentioned above the addition of a Client.OnConnectionFailure event handler would be it

Describe alternatives you've considered
I could make the reconnect timer 0 and then manually close/dispose the client but then I would have to keep declaring it in order to reuse it

Additional context
I have been learning how to code by myself so if I am missing something please let me know, thanks in advance :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant