esp8266 / Arduino

ESP8266 core for Arduino
GNU Lesser General Public License v2.1
15.97k stars 13.34k forks source link

Documentation: server.send( )/ server.on() / server.arg() #4517

Open Marcianikus opened 6 years ago

Marcianikus commented 6 years ago

It is not documented in : https://arduino-esp8266.readthedocs.io/en/2.4.1/esp8266wifi/readme.html

server.send () server.on () server.arg () server.uri()

I have found it in examples: https://techtutorialsx.com/2016/10/22/esp8266-webserver-getting-query-parameters/

doubt: In soft-AP mode, server.send () Is it sent to all connected clients?

schweini commented 6 years ago

In soft-AP mode, server.send () Is it sent to all connected clients?

While I can't help with the documentation for the server functions, I can confidently say that server.send() only returns data to the currently connected client, whether you are in AP mode or not.

If you have various clients connected at the same time, beware of the problem that their connection will stall while your ESP8266 is busy processing and sending stuff to another client!

ghost commented 5 years ago

https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WebServer/README.rst

nghiank97 commented 4 years ago

https://github.com/esp8266/Arduino/blob/master/lologists/ESP8266WebServer/README.rst

thank you !