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

Revert "fixed typos, brought back LED to blink"

This reverts commit 6014297bf2.
This commit is contained in:
ficeto
2015-05-01 12:28:20 +03:00
parent 6f4ba91698
commit 29a8c57ff5
2 changed files with 4 additions and 12 deletions

View File

@ -42,16 +42,15 @@ public:
typedef std::function<bool(void)> TNotFoundHandlerFunction;
void on(const char* uri, THandlerFunction handler);
void on(const char* uri, HTTPMethod method, THandlerFunction fn);
//called when handler is not assigned, return true if you handle it else return false to let the class return 404
void onNotFound(TNotFoundHandlerFunction fn);
void onNotFound(TNotFoundHandlerFunction fn);//called when handler is not assigned
String uri() { return _currentUri; }
HTTPMethod method() { return _currentMethod; }
WiFiClient client() { return _currentClient; }
String arg(const char* name);// get request argument value
String arg(int i);// get request argument value by number
String argName(int i);// get request argument name by number
String arg(int i);// get request argument value buy number
String argName(int i);// get request argument name buy number
int args();//get arguments count
bool hasArg(const char* name);//check if argument exists