Remove psychichttp

This commit is contained in:
Rune Harlyk
2025-11-27 16:45:07 +01:00
parent 7c3dd2d15b
commit 9e02f8b8ee
23 changed files with 765 additions and 347 deletions
+6 -6
View File
@@ -1,12 +1,12 @@
#pragma once
#include <PsychicHttp.h>
#include <WiFi.h>
#include <ESPmDNS.h>
#include <esp_http_server.h>
#include <esp_wifi.h>
#include <string>
#include <filesystem.h>
#include <utils/timing.h>
#include <utils/http_utils.h>
#include <template/stateful_service.h>
#include <template/stateful_persistence.h>
#include <template/stateful_endpoint.h>
@@ -43,9 +43,9 @@ class WiFiService : public StatefulService<WiFiSettings> {
const char *getHostname() { return state().hostname.c_str(); }
static esp_err_t handleScan(PsychicRequest *request);
static esp_err_t getNetworks(PsychicRequest *request);
static esp_err_t getNetworkStatus(PsychicRequest *request);
static esp_err_t handleScan(httpd_req_t *req);
static esp_err_t getNetworks(httpd_req_t *req);
static esp_err_t getNetworkStatus(httpd_req_t *req);
StatefulHttpEndpoint<WiFiSettings> endpoint;
};