We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 740cff5 + 8194a6e commit 65e6444Copy full SHA for 65e6444
src/httpserver.h
@@ -33,7 +33,7 @@ void InterruptHTTPServer();
33
void StopHTTPServer();
34
35
/** Handler for requests to a certain HTTP path */
36
-typedef std::function<void(HTTPRequest* req, const std::string &)> HTTPRequestHandler;
+typedef std::function<bool(HTTPRequest* req, const std::string &)> HTTPRequestHandler;
37
/** Register handler for prefix.
38
* If multiple handlers match a prefix, the first-registered one will
39
* be invoked.
0 commit comments