25 static constexpr
auto prefix =
"/v2";
33 httplib::Server &server);
45 " but got " + std::to_string(got)) {}
Definition: JodaServer.h:18
static constexpr size_t VERSION
Definition: API.h:20
static void registerEndpoint(const std::string &prefix, httplib::Server &server)
Definition: API.cpp:12
static constexpr auto prefix
Definition: API.h:25
JodaAPIVersionException()
Definition: API.h:41
JodaAPIVersionException(unsigned int got)
Definition: API.h:43
JodaAPIVersionException(const std::string &what)
Definition: API.h:47