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

#include <API.h>

Static Public Member Functions

static void registerEndpoint (const std::string &prefix, httplib::Server &server)
 

Static Public Attributes

static constexpr size_t VERSION = 2
 
static constexpr auto prefix = "/v2"
 

Detailed Description

JODA network API version V2

Member Function Documentation

◆ registerEndpoint()

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

Registers all API endpoints at the server

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

Field Documentation

◆ prefix

constexpr auto joda::network::apiv2::API::prefix = "/v2"
staticconstexpr

The endpoint prefix where this API version can be reached

◆ VERSION

constexpr size_t joda::network::apiv2::API::VERSION = 2
staticconstexpr

Numerical representation of the API version


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