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