mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2026-01-02 11:00:52 +01:00
16 lines
342 B
C++
16 lines
342 B
C++
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
#pragma once
|
|
|
|
#include <ESPAsyncWebServer.h>
|
|
|
|
class WebApiDeviceClass {
|
|
public:
|
|
void init(AsyncWebServer& server);
|
|
void loop();
|
|
|
|
private:
|
|
void onDeviceAdminGet(AsyncWebServerRequest* request);
|
|
void onDeviceAdminPost(AsyncWebServerRequest* request);
|
|
|
|
AsyncWebServer* _server;
|
|
}; |