mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
parent
cc0bfa04d4
commit
4fdff072e8
@ -85,7 +85,7 @@ void loop() {
|
||||
}
|
||||
|
||||
// Read all the lines of the reply from server and print them to Serial
|
||||
while (client.available()) {
|
||||
while (client.available() || client.connected()) {
|
||||
String line = client.readStringUntil('\r');
|
||||
Serial.print(line);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user