mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
add comments
This commit is contained in:
@@ -46,6 +46,7 @@ class HttpEndpoint {
|
||||
|
||||
// register the web server on() endpoints
|
||||
void registerURI() {
|
||||
// GET
|
||||
_server->on(_servicePath,
|
||||
HTTP_GET,
|
||||
_securityManager->wrapRequest(
|
||||
@@ -57,6 +58,7 @@ class HttpEndpoint {
|
||||
},
|
||||
_authenticationPredicate));
|
||||
|
||||
// POST
|
||||
_server->on(_servicePath,
|
||||
HTTP_POST,
|
||||
_securityManager->wrapCallback(
|
||||
|
||||
Reference in New Issue
Block a user