Hi, how can i reinitalize websocketclient?
I have websocket server on my laptop, esp8266 is connected to the same router. When i turn off my laptop's wifi(not router), websocketclient won't fire up disconnected event and won't try to reconnect. When i try to call websocketclient.disconnect() in this situation, the esp waits few seconds, then resets.
Now i just call again beginssl but i can do it only once per esp reset-i'm losing 12kB of heap.