Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • The fact is that ESP8266WebServer uses WiFiClient itself to implement the web server. So, if WiFiClient fails, then ESP8266WebServer will fails as well. Take a look at github.com/esp8266/Arduino/blob/master/libraries/… Commented Oct 5, 2017 at 21:20
  • No evidence WiFiClient is slow.If you are doing something else in loop such as animating LEDs code like this brings loop to dead stop. while(!client.available()){ delay(1); } readStringUntil blocks for up to 1 second waiting for the terminator. Another loop killer. String request = client.readStringUntil('\r'); Commented Oct 9, 2017 at 2:29