I got the latest code and tried to change my reconnect logic (not to create a new instance). I am having trouble to get it work. Here is my test case. I put my laptop to hibernate mode. This will cause the network connection go down.
During the connection is down, I receive a socket error message exception saying
"Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."
And, I think the exception is fine. Once the laptop goes back to normal with network connection. I call websocket.Open(). And, it doesn't work. The web socket doesn't try to reconnect. Is there other methods that we need
to call to reconnect?