MCPcopy Create free account
hub / github.com/LUX-Core/lux / HTTPPathHandler

Class HTTPPathHandler

src/httpserver.cpp:129–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127};
128
129struct HTTPPathHandler
130{
131 HTTPPathHandler() {}
132 HTTPPathHandler(std::string _prefix, bool _exactMatch, HTTPRequestHandler _handler):
133 prefix(_prefix), exactMatch(_exactMatch), handler(_handler)
134 {
135 }
136 std::string prefix;
137 bool exactMatch;
138 HTTPRequestHandler handler;
139};
140
141/** HTTP module state */
142

Callers 1

RegisterHTTPHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected