Makes WebInterface working.

This commit is contained in:
Simon Weidacher committed 2021-12-26 14:05:02 +01:00
1 parent e61c765fbc
commit 68f1427155
2 files changed
+271 -11

No files matched your search

+7 -2
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