#include <API.h>
|
static constexpr size_t | VERSION = 2 |
|
static constexpr auto | prefix = "/v2" |
|
JODA network API version V2
◆ registerEndpoint()
void joda::network::apiv2::API::registerEndpoint |
( |
const std::string & |
prefix, |
|
|
httplib::Server & |
server |
|
) |
| |
|
static |
Registers all API endpoints at the server
- Parameters
-
prefix | a prefix to prepend to each http endpoint |
server | the server to register the endpoints at |
◆ 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:
- /home/nico/joda_tmp/tmp-joda-dirs/JODA-gh/libs/joda/core/modules/network/include/joda/network/apiv2/API.h
- /home/nico/joda_tmp/tmp-joda-dirs/JODA-gh/libs/joda/core/modules/network/src/apiv2/API.cpp