pladaria / reconnecting-websocket

Reconnecting WebSocket. For Web, React Native, cli (Node.js)
MIT License
1.23k stars 199 forks source link

Does not start retrying when connection drops #65

Closed sjorsjes closed 6 years ago

sjorsjes commented 6 years ago

If there is no connection available when trying to connect this plugin works great, it does exactly as expected and tries to reconnect untill the connection can be established.

But in my case it can happen that the connection can drop after a stable connection has already been made and then the plugin does not try to reconnect... Is this possible with the current plugin or should we discuss a way how to implement this, because I think it's a must have feature ;)

Using:

"reconnecting-websocket": "4.0.0-rc5",
"ws": "5.2.0"`

Edit: Closed because duplicate https://github.com/pladaria/reconnecting-websocket/issues/60