#include <SystemRequest.h>
|
| static void | registerEndpoint (const std::string &prefix, httplib::Server &server) |
| |
| static httplib::Server::Handler | getHandler (const std::string &prefix="") |
| |
SystemRequest is responsible for retrieving information about the host system over the API
◆ getHandler()
| httplib::Server::Handler joda::network::apiv2::SystemRequest::getHandler |
( |
const std::string & |
prefix = "" | ) |
|
|
static |
Creates a handler capable of handling a request and return an answer
- Parameters
-
| prefix | a prefix to prepend to the http endpoint (for logging purposes) |
◆ registerEndpoint()
| void joda::network::apiv2::SystemRequest::registerEndpoint |
( |
const std::string & |
prefix, |
|
|
httplib::Server & |
server |
|
) |
| |
|
static |
Registers this API endpoint at the server
- Parameters
-
| prefix | a prefix to prepend to the http endpoint |
| server | the server to register the endpoint at |
The documentation for this class was generated from the following files:
- /home/nico/joda_tmp/tmp-joda-dirs/JODA-gh/libs/joda/core/modules/network/src/apiv2/SystemRequest.h
- /home/nico/joda_tmp/tmp-joda-dirs/JODA-gh/libs/joda/core/modules/network/src/apiv2/SystemRequest.cpp