Files
WaveShare_ESP32_BoomCast_FW/BoomCast_Waveshare_Arduino/boomcast_web.h
T
2026-10-09 19:10:42 +02:00

30 lines
534 B
C++

#pragma once
#include <Arduino.h>
#include <WebServer.h>
class BoomWeb {
public:
void begin();
void handle();
private:
WebServer server_{80};
bool authorise();
void addNoCache();
void sendJson(int code, const String& json);
void handleRoot();
void handleStatus();
void handleEvents();
void handleWifiScan();
void handleWifiSave();
void handleWifiForget();
void handleSensitivity();
void handleSync();
void handleDiscard();
void handleTodayReset();
void handleReboot();
};
extern BoomWeb boomWeb;