gh-wh-handler/include/routes.hpp

18 lines
263 B
C++

#ifndef ROUTES_HPP
#define ROUTES_HPP
#include <crow/app.h>
#include <nlohmann/json.hpp>
class Routes {
public:
Routes(nlohmann::json);
private:
crow::SimpleApp app;
static bool check_ping(const crow::request &req);
};
#endif