Skip to content

Client doesn't reconnect #21

Description

@herzaso

When the server restarts, the client losses the connection and doesn't reconnect.
Since a disconnection event is not thrown, there is no way to know that the client disconnected and also if there was, it's unclear as to how to achieve a re-connection.

I've noticed that while connected is true (even if the server went down), webSocket.socket.connected is false (hence it is more accurate).

How can a re-connection be done using this library?

Thanks,
Ofir

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