mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
first commit using PsychicHttp
This commit is contained in:
@@ -2,10 +2,9 @@
|
||||
#define APStatus_h
|
||||
|
||||
#include <WiFi.h>
|
||||
#include <AsyncTCP.h>
|
||||
|
||||
#include <ArduinoJson.h>
|
||||
#include <ESPAsyncWebServer.h>
|
||||
#include <PsychicHttp.h>
|
||||
#include <IPAddress.h>
|
||||
#include <SecurityManager.h>
|
||||
#include <APSettingsService.h>
|
||||
@@ -15,11 +14,16 @@
|
||||
|
||||
class APStatus {
|
||||
public:
|
||||
APStatus(AsyncWebServer * server, SecurityManager * securityManager, APSettingsService * apSettingsService);
|
||||
APStatus(PsychicHttpServer * server, SecurityManager * securityManager, APSettingsService * apSettingsService);
|
||||
void registerURI();
|
||||
|
||||
private:
|
||||
SecurityManager * _securityManager;
|
||||
PsychicHttpServer * _server;
|
||||
|
||||
APSettingsService * _apSettingsService;
|
||||
void apStatus(AsyncWebServerRequest * request);
|
||||
|
||||
esp_err_t apStatus(PsychicRequest * request);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user