Closed E3ton closed 3 years ago
If the network is disconnected, then client.onClose does not work. How do I interceptthis event?
client.onClose([](WebSocket &, const WebSocket::CloseCode, const char *, uint16_t) { _SERIAL.println(F("Disconnected\n")); });
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If the network is disconnected, then client.onClose does not work. How do I interceptthis event?
client.onClose([](WebSocket &, const WebSocket::CloseCode, const char *, uint16_t) { _SERIAL.println(F("Disconnected\n")); });