mirror of
https://github.com/Links2004/arduinoWebSockets.git
synced 2025-07-14 07:46:30 +02:00
add deprecated warning for loop in async mode
fix sync mode
This commit is contained in:
@ -340,7 +340,7 @@ void WebSocketsClient::handleClientData(void) {
|
||||
switch(_client.status) {
|
||||
case WSC_HEADER:
|
||||
{
|
||||
String headerLine = _client->tcp->readStringUntil('\n');
|
||||
String headerLine = _client.tcp->readStringUntil('\n');
|
||||
handleHeader(&_client, &headerLine);
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user