FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
esp32_https_server/src/ResourceNode.cpp at master · abelsensors/esp32_https_server · GitHub
abelsensors
esp32_https_server
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
esp32_https_server
/
src
/
ResourceNode.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
23 lines (15 loc) · 624 Bytes
Breadcrumbs
esp32_https_server
/
src
/
ResourceNode.cpp
Copy path
File metadata and controls
23 lines (15 loc) · 624 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
include
"
ResourceNode.hpp
"
namespace
httpsserver
{
ResourceNode::ResourceNode
(
const
std::string &path,
const
std::string &method,
const
HTTPSCallbackFunction callback,
const
std::string &tag):
HTTPNode
(path,
HANDLER_CALLBACK
, tag),
_method
(method),
_callback
(callback) {
}
ResourceNode::ResourceNode
(
const
std::string &path,
const
std::string &method,
void
(*callback)(HTTPRequest * req, HTTPResponse * res),
const
std::string &tag):
HTTPNode
(path,
HANDLER_CALLBACK
, tag),
_method
(method),
_callback
(HTTPSCallbackFunction(callback)) {
}
ResourceNode::~ResourceNode
() {
}
}
/*
namespace httpsserver
*/
Back
|
FazBrowse Home
|
New Git URL