1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-07 06:01:35 +03:00

allow F() to be used for uri parameter (#2319)

This commit is contained in:
Clemens Kirchgatterer
2016-07-26 12:23:14 +02:00
committed by Ivan Grokhotkov
parent 7900132225
commit 4dc4e75216
3 changed files with 7 additions and 7 deletions

View File

@ -5,7 +5,7 @@
class FunctionRequestHandler : public RequestHandler {
public:
FunctionRequestHandler(ESP8266WebServer::THandlerFunction fn, ESP8266WebServer::THandlerFunction ufn, const char* uri, HTTPMethod method)
FunctionRequestHandler(ESP8266WebServer::THandlerFunction fn, ESP8266WebServer::THandlerFunction ufn, const String &uri, HTTPMethod method)
: _fn(fn)
, _ufn(ufn)
, _uri(uri)