mirror of
https://github.com/sweidac/kidsbox.git
synced 2025-07-28 03:41:54 +02:00
Makes WebInterface working.
This commit is contained in:
@@ -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
|
Reference in New Issue
Block a user