forked from btclock/btclock_v3
35 lines
No EOL
1 KiB
C++
35 lines
No EOL
1 KiB
C++
#pragma once
|
|
|
|
#include "ESPAsyncWebServer.h"
|
|
#include <ArduinoJson.h>
|
|
#include <LittleFS.h>
|
|
|
|
#include "lib/block_notify.hpp"
|
|
#include "lib/price_notify.hpp"
|
|
#include "lib/screen_handler.hpp"
|
|
#include "lib/led_handler.hpp"
|
|
|
|
#include "webserver/OneParamRewrite.hpp"
|
|
|
|
void setupWebserver();
|
|
bool processEpdColorSettings(AsyncWebServerRequest *request);
|
|
|
|
void onApiStatus(AsyncWebServerRequest *request);
|
|
void onApiSystemStatus(AsyncWebServerRequest *request);
|
|
|
|
void onApiShowScreen(AsyncWebServerRequest *request);
|
|
void onApiShowText(AsyncWebServerRequest *request);
|
|
|
|
void onApiActionPause(AsyncWebServerRequest *request);
|
|
void onApiActionTimerRestart(AsyncWebServerRequest *request);
|
|
void onApiSettingsGet(AsyncWebServerRequest *request);
|
|
void onApiSettingsPost(AsyncWebServerRequest *request);
|
|
|
|
void onApiLightsOff(AsyncWebServerRequest *request);
|
|
void onApiLightsSetColor(AsyncWebServerRequest *request);
|
|
|
|
|
|
void onApiRestart(AsyncWebServerRequest *request);
|
|
|
|
void onIndex(AsyncWebServerRequest *request);
|
|
void onNotFound(AsyncWebServerRequest *request); |