#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);
		void initSD();

	private:
		httpd_handle_t start_webserver();
		void registerFileServer();
		//esp_err_t hello_get_handler(httpd_req_t *req); 
};

#endif