mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-03-30 17:02:12 +02:00
refactor
This commit is contained in:
parent
ed8137e686
commit
73f39d67c3
2 changed files with 45 additions and 6 deletions
|
|
@ -43,8 +43,9 @@ class Web {
|
|||
bool createAPIPinToken(const IPAddress ipAddress, const char *pin, char *token);
|
||||
bool createAPIPasswordToken(const IPAddress ipAddress, const char *username, const char *password, char *token);
|
||||
bool isAuthenticated(WebServer &server, bool cfg = false);
|
||||
bool isAuthenticated(AsyncWebServerRequest *request, bool cfg = false);
|
||||
|
||||
// Async API handler overloads (port 8082)
|
||||
// Async API handler overloads (port 8081)
|
||||
void handleDiscovery(AsyncWebServerRequest *request);
|
||||
void handleGetRooms(AsyncWebServerRequest *request);
|
||||
void handleGetShades(AsyncWebServerRequest *request);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue