This commit is contained in:
Michal Courson
2025-08-28 21:39:35 -04:00
commit b1e155d08b
28 changed files with 7246 additions and 0 deletions

21
main/Server.hpp Normal file
View File

@ -0,0 +1,21 @@
#ifndef SERVER_HPP
#define SERVER_HPP
#include "ESPAsyncWebServer.h"
class WebServer {
public:
WebServer() : server(80) {}
void Init();
void Start();
void Stop();
bool isRunning() const { return running; }
private:
bool running = false;
AsyncWebServer server;
};
extern WebServer web_server;
#endif