5 #ifndef JODA_DELETEREQUEST_H
6 #define JODA_DELETEREQUEST_H
25 httplib::Server &server);
32 static httplib::Server::Handler
getHandler(
const std::string &prefix =
"");
35 static constexpr
auto endpoint =
"/delete";
37 static void readParams(
const httplib::Request &req, httplib::Response &res);
38 static void deleteSource(
const httplib::Request &req, httplib::Response &res,
39 const std::string &name);
40 static void deleteResult(
const httplib::Request &req, httplib::Response &res,
43 static void success_(httplib::Response &res);
Definition: DeleteRequest.h:17
static void registerEndpoint(const std::string &prefix, httplib::Server &server)
Definition: DeleteRequest.cpp:8
static httplib::Server::Handler getHandler(const std::string &prefix="")
Definition: DeleteRequest.cpp:57