save config prototype 2
This commit is contained in:
parent
5302c4c758
commit
c1d23495d5
4 changed files with 35 additions and 14 deletions
|
@ -5,6 +5,7 @@
|
|||
#include <Update.h>
|
||||
#include <FRAM.h>
|
||||
#include <ArduinoJson.h>
|
||||
#include <AsyncJson.h>
|
||||
#include <html/all.h>
|
||||
|
||||
|
||||
|
@ -44,7 +45,8 @@ class ESPMegaWebServer
|
|||
String dashboardProcessor(const String& var);
|
||||
void configHandler(AsyncWebServerRequest *request);
|
||||
String configProcessor(const String& var);
|
||||
void saveConfigHandler(AsyncWebServerRequest *request);
|
||||
AsyncCallbackJsonWebHandler *saveConfigHandler;
|
||||
void saveConfigJSONHandler(AsyncWebServerRequest *request, JsonVariant &json);
|
||||
void otaRequestHandler(AsyncWebServerRequest *request);
|
||||
void otaUploadHandler(AsyncWebServerRequest *request, String filename, size_t index, uint8_t *data, size_t len, bool final);
|
||||
void restAPIHandler(AsyncWebServerRequest *request);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue