Skip to content

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

Description

@Antwns

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 :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions