1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00

Add HTTP Basic Auth to WebServer and libb64 (base64) to core

This commit is contained in:
Me No Dev
2015-11-30 03:37:47 +02:00
parent 4c81c2bb16
commit bda06d686c
9 changed files with 387 additions and 4 deletions

View File

@ -65,7 +65,10 @@ public:
void begin();
void handleClient();
bool authenticate(const char * username, const char * password);
void requestAuthentication();
typedef std::function<void(void)> THandlerFunction;
void on(const char* uri, THandlerFunction handler);
void on(const char* uri, HTTPMethod method, THandlerFunction fn);