Skip to content

Commit 761b73c

Browse files
committed
correct StreamHttpClient.ino example
1 parent 59b4c82 commit 761b73c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ESP8266httpClient/examples/StreamHttpClient/StreamHttpClient.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ void loop() {
6363
uint8_t buff[128] = { 0 };
6464

6565
// get tcp stream
66-
WiFiClient * stream = http.getStream();
66+
WiFiClient * stream = http.getStreamPtr();
6767

6868
// read all data from server
6969
while(http.connected() && (len > 0 || len == -1)) {

0 commit comments

Comments
 (0)