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.
1 parent 3859072 commit 8194a6eCopy full SHA for 8194a6e
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