Redo /api/system endpoints to proto

This commit is contained in:
Niklas Jensen
2026-01-25 19:34:46 +01:00
committed by nikguin04
parent 1931551fa8
commit 1e333a0ffe
4 changed files with 12 additions and 10 deletions
+1
View File
@@ -69,6 +69,7 @@ class WebServer {
static esp_err_t sendJson(httpd_req_t* req, int status, JsonDocument& doc);
static esp_err_t sendError(httpd_req_t* req, int status, const char* message);
static esp_err_t sendOk(httpd_req_t* req);
static esp_err_t sendOkProto(httpd_req_t* req);
static esp_err_t sendProto(httpd_req_t* req, int status, const uint8_t* data, size_t len);
template <typename T>