Makes WebInterface working.

This commit is contained in:
Simon Weidacher
2021-12-26 14:00:30 +01:00
parent e61c765fbc
commit 68f1427155
2 changed files with 271 additions and 11 deletions

View File

@@ -1,14 +1,19 @@
#ifndef _WEB_INTERFACE_HPP
#define _WEB_INTERFACE_HPP
#include <ESPAsyncWebServer.h>
#include <esp_http_server.h>
class WebInterface {
AsyncWebServer* server;
httpd_handle_t server = NULL;
public:
WebInterface();
void start();
private:
void initSD();
httpd_handle_t start_webserver();
//esp_err_t hello_get_handler(httpd_req_t *req);
};
#endif