8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6dd7be commit 1b6b42bCopy full SHA for 1b6b42b
src/WebSocketsClient.cpp
@@ -173,11 +173,13 @@ void WebSocketsClient::loop(void) {
173
174
}
175
} else {
176
+ handleClientData();
177
+
178
if (_client.status == WSC_CONNECTED){
179
handleHBPing();
180
handleHBTimeout(&_client);
181
- handleClientData();
182
183
184
185
#endif
@@ -726,7 +728,7 @@ void WebSocketsClient::connectedCb() {
726
728
727
729
730
void WebSocketsClient::connectFailedCb() {
- DEBUG_WEBSOCKETS("[WS-Client] connection to %s:%u Faild\n", _host.c_str(), _port);
731
+ DEBUG_WEBSOCKETS("[WS-Client] connection to %s:%u Failed\n", _host.c_str(), _port);
732
733
734
#if (WEBSOCKETS_NETWORK_TYPE == NETWORK_ESP8266_ASYNC)
0 commit comments