JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
Static Public Member Functions
joda::network::apiv2::SystemRequest Class Reference

#include <SystemRequest.h>

Static Public Member Functions

static void registerEndpoint (const std::string &prefix, httplib::Server &server)
 
static httplib::Server::Handler getHandler (const std::string &prefix="")
 

Detailed Description

SystemRequest is responsible for retrieving information about the host system over the API

Member Function Documentation

◆ 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
prefixa prefix to prepend to the http endpoint (for logging purposes)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ registerEndpoint()

void joda::network::apiv2::SystemRequest::registerEndpoint ( const std::string &  prefix,
httplib::Server &  server 
)
static

Registers this API endpoint at the server

Parameters
prefixa prefix to prepend to the http endpoint
serverthe server to register the endpoint at
Here is the caller graph for this function:

The documentation for this class was generated from the following files: