18 lines
612 B
C
18 lines
612 B
C
#ifndef WLED_SERVER_H
|
|
#define WLED_SERVER_H
|
|
/*
|
|
* Server page declarations
|
|
*/
|
|
|
|
bool isIp(String str);
|
|
bool captivePortal(AsyncWebServerRequest *request);
|
|
void initServer();
|
|
void serveIndexOrWelcome(AsyncWebServerRequest *request);
|
|
void serveIndex(AsyncWebServerRequest* request);
|
|
String msgProcessor(const String& var);
|
|
void serveMessage(AsyncWebServerRequest* request, uint16_t code, String headl, String subl="", byte optionT=255);
|
|
String settingsProcessor(const String& var);
|
|
String dmxProcessor(const String& var);
|
|
void serveSettings(AsyncWebServerRequest* request);
|
|
|
|
#endif //WLED_SERVER_H
|