I would like to understand the official WifiClient example located here : https://github.com/espressif/arduino-es ... Client.ino
Specifically this part :
Code: Select all
// Read all the lines of the reply from server and print them to Serial
while(client.available()) {
String line = client.readStringUntil('\r');
Serial.print(line);
}
Is there a mistake in the example or is my understanding incorrect ?
Here is the same example for Arduino, which seems ok to me : https://www.arduino.cc/en/Tutorial/Libr ... iWebClient