#pragma once #include "esp_err.h" #include "esp_http_server.h" // Register /, /settings/page, /static/* and /favicon.ico. Files come from the // www partition, stored as .gz and sent with Content-Encoding: gzip. esp_err_t web_register(httpd_handle_t server); // Send one of the top-level pages (e.g. "settings.html") esp_err_t web_send_page(httpd_req_t *req, const char *name);