add comments

This commit is contained in:
Proddy
2024-01-01 16:59:52 +01:00
parent 6e6023cfd1
commit 1b7d999fc4

View File

@@ -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(