I would like to use this library to automatically reconnect in case of network failure.
When the server closes the connection, the client should not reconnect.
Currently this is not possible, after a close + time-out we always reconnect.
There should be a way for the user of the library to decide, based on the close event to whether a reconnect should happen.
I would like to use this library to automatically reconnect in case of network failure. When the server closes the connection, the client should not reconnect. Currently this is not possible, after a close + time-out we always reconnect. There should be a way for the user of the library to decide, based on the close event to whether a reconnect should happen.