I was experimenting disconnections of the websocket when running the library in a server for a long time, probably due to timeout.
The websocket doesn't recover from that.
I hoocked the events OnClose and OnError to update the internal IsConnected state an therefore be able to use the same client over long periods.
I was experimenting disconnections of the websocket when running the library in a server for a long time, probably due to timeout. The websocket doesn't recover from that. I hoocked the events OnClose and OnError to update the internal IsConnected state an therefore be able to use the same client over long periods.