MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / HTTPPathHandler

Class HTTPPathHandler

src/rpc/core/httpserver.cpp:139–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137};
138
139struct HTTPPathHandler {
140 HTTPPathHandler(std::string _prefix, bool _exactMatch, HTTPRequestHandler _handler)
141 : prefix(_prefix), exactMatch(_exactMatch), handler(_handler) {}
142 std::string prefix;
143 bool exactMatch;
144 HTTPRequestHandler handler;
145};
146
147/** HTTP module state */
148

Callers 1

RegisterHTTPHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected