We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently the HTTPClient object is created once, and reused. From the example at https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/examples/WiFiClient/WiFiClient.ino it seems the client should be created once per HTTP request. Looking at the source for HTTPClient, it seems constructing it begins some work.
Taking this into consideration, it sounds like HTTPClient should be moved at least into loop() so it is not reused.
The text was updated successfully, but these errors were encountered:
bneedhamia
No branches or pull requests
Currently the HTTPClient object is created once, and reused. From the example at https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/examples/WiFiClient/WiFiClient.ino it seems the client should be created once per HTTP request. Looking at the source for HTTPClient, it seems constructing it begins some work.
Taking this into consideration, it sounds like HTTPClient should be moved at least into loop() so it is not reused.
The text was updated successfully, but these errors were encountered: