mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
24 lines
457 B
C++
24 lines
457 B
C++
#ifndef SystemStatus_h
|
|
#define SystemStatus_h
|
|
|
|
#include <WiFi.h>
|
|
#include <AsyncTCP.h>
|
|
#include <FS.h>
|
|
#include <LittleFS.h>
|
|
#include <ArduinoJson.h>
|
|
#include <ESPAsyncWebServer.h>
|
|
|
|
#include "SecurityManager.h"
|
|
|
|
#define SYSTEM_STATUS_SERVICE_PATH "/rest/systemStatus"
|
|
|
|
class SystemStatus {
|
|
public:
|
|
SystemStatus(AsyncWebServer * server, SecurityManager * securityManager);
|
|
|
|
private:
|
|
void systemStatus(AsyncWebServerRequest * request);
|
|
};
|
|
|
|
#endif
|