MCPcopy Create free account
hub / github.com/ElementsProject/elements / HTTPPathHandler

Class HTTPPathHandler

src/httpserver.cpp:124–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122};
123
124struct HTTPPathHandler
125{
126 HTTPPathHandler(std::string _prefix, bool _exactMatch, HTTPRequestHandler _handler):
127 prefix(_prefix), exactMatch(_exactMatch), handler(_handler)
128 {
129 }
130 std::string prefix;
131 bool exactMatch;
132 HTTPRequestHandler handler;
133};
134
135/** HTTP module state */
136

Callers 1

RegisterHTTPHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected