add authentication service

This commit is contained in:
Rick Watson
2019-05-18 19:35:27 +01:00
parent 7817010533
commit 04e852f7d9
10 changed files with 224 additions and 137 deletions

View File

@ -12,7 +12,7 @@
#include <SettingsPersistence.h>
#include <ESPAsyncWebServer.h>
#include <ArduinoJson.h>
#include <AsyncJsonRequestWebHandler.h>
#include <AsyncJsonWebHandler.h>
#include <AsyncArduinoJson6.h>
/*
@ -22,7 +22,7 @@ class SettingsService : public SettingsPersistence {
private:
AsyncJsonRequestWebHandler _updateHandler;
AsyncJsonWebHandler _updateHandler;
void fetchConfig(AsyncWebServerRequest *request){
AsyncJsonResponse * response = new AsyncJsonResponse(MAX_SETTINGS_SIZE);