5 #ifndef JODA_JODARESULTREQUEST_H
6 #define JODA_JODARESULTREQUEST_H
25 httplib::Server &server);
28 static constexpr
auto endpoint =
"/result";
29 static constexpr
auto chunkSize = 50;
31 static void result(
const httplib::Request &req, httplib::Response &res);
33 static void sendResult(httplib::Response &res,
34 const std::shared_ptr<JSONStorage> &result,
35 long long offset,
long long count);
Definition: JodaResultRequest.h:17
static void registerEndpoint(const std::string &prefix, httplib::Server &server)
Definition: JodaResultRequest.cpp:9