Hi Igrr
ESP8266WebServer is really an easy-to-use library, I can be able to have a working Web Server in a very short time.
But now I would like to explore more the powerful of this library, do you know where I can found the documentation about this library?
My code has been copied from some example found on the web, but, for example, now I would like to know the IP of the client connected to my server, I think I must add some item to this code:
Code: Select all const char * headerkeys[] = {"User-Agent", "Cookie"} ;
size_t headerkeyssize = sizeof(headerkeys)/sizeof(char*);
server.collectHeaders(headerkeys, headerkeyssize ); //ask server to track these headers (nel file ESP8266WebServer.cpp)
to collect also the IP, but I don't know how to ask, I try to add "IP" but doesn't work.
I'd rather find the documentation rather than asking every thing in the forum every time.
I found somethink at:
https://links2004.github.io/Arduino/d3/ ... erver.htmlbut isn't explained the parameters of the functions.
Thank you
Livio