Currently, the WebSocket client doesn't reconnect automatically after being disconnected from the server.
This PR fixes this issue by waiting to close a session and calling connect again. We can enable the auto-reconnect feature by passing automaticReconnect to the BackInTimeWebSocketClientConnector.
Note that the default value for automaticReconnect is true.
Currently, the WebSocket client doesn't reconnect automatically after being disconnected from the server.
This PR fixes this issue by waiting to close a session and calling
connect
again. We can enable the auto-reconnect feature by passingautomaticReconnect
to theBackInTimeWebSocketClientConnector
.Note that the default value for
automaticReconnect
istrue
.