1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

Update DigestAuthorization.ino (#6029)

Fix WiFiClient vs. HttpClient declaration order
This commit is contained in:
Develo 2019-05-01 00:47:20 -04:00 committed by GitHub
parent 33a4c6a5a7
commit 0da6906499
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,9 +98,8 @@ void setup() {
}
void loop() {
HTTPClient http;
WiFiClient client;
HTTPClient http; //must be declared after WiFiClient for correct destruction order, because used by http.begin(client,...)
Serial.print("[HTTP] begin...\n");