Files
kidsbox/device/main/WebInterface.hpp
2021-12-26 14:05:02 +01:00

22 lines
420 B
C++

#ifndef _WEB_INTERFACE_HPP
#define _WEB_INTERFACE_HPP
#include <esp_http_server.h>
class WebInterface {
httpd_handle_t server = NULL;
public:
WebInterface();
void start();
void finishResourceRegistrations();
void registerResource(httpd_uri_t* config);
private:
void initSD();
httpd_handle_t start_webserver();
void registerFileServer();
//esp_err_t hello_get_handler(httpd_req_t *req);
};
#endif