mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-10 01:39:54 +03:00
21 lines
469 B
C++
21 lines
469 B
C++
#ifndef WebStatusService_h
|
|
#define WebStatusService_h
|
|
|
|
#define HARDWARE_STATUS_SERVICE_PATH "/rest/hardwareStatus"
|
|
#define SYSTEM_STATUS_SERVICE_PATH "/rest/systemStatus"
|
|
|
|
namespace emsesp {
|
|
|
|
class WebStatusService {
|
|
public:
|
|
WebStatusService(AsyncWebServer * server, SecurityManager * securityManager);
|
|
|
|
private:
|
|
void systemStatus(AsyncWebServerRequest * request);
|
|
void hardwareStatus(AsyncWebServerRequest * request);
|
|
};
|
|
|
|
} // namespace emsesp
|
|
|
|
#endif
|