5 #ifndef JODA_SYSTEMREQUEST_H
6 #define JODA_SYSTEMREQUEST_H
25 httplib::Server &server);
32 static httplib::Server::Handler
getHandler(
const std::string &prefix =
"");
35 static constexpr
auto endpoint =
"/system";
37 static void sendSystemStats(
const httplib::Request &req,
38 httplib::Response &res);
Definition: SystemRequest.h:17
static void registerEndpoint(const std::string &prefix, httplib::Server &server)
Definition: SystemRequest.cpp:25
static httplib::Server::Handler getHandler(const std::string &prefix="")
Definition: SystemRequest.cpp:12