Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By roboticboyer
#51948 HI
I'm looking inside ESP8266WebServer.h

Which is the difference between the 2 below methods?
Code: Select allvoid on(const String &uri, HTTPMethod method, THandlerFunction fn);
void on(const String &uri, HTTPMethod method, THandlerFunction fn, THandlerFunction ufn);


Does the 2nd method allows to manage 2 Handler Functions?
For example is used at https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WebServer/examples/FSBrowser/FSBrowser.ino#L226
Which is the difference between fn e ufn?

Thank You
BR
Giorgio