Cavoke  1.1.0
A Platform for creating and hosting multiplayer turn-based board games
Loading...
Searching...
No Matches
health_controller.cpp
1#include "health_controller.h"
2
3void cavoke::server::controllers::HealthController::health(
4 const drogon::HttpRequestPtr &req,
5 std::function<void(const drogon::HttpResponsePtr &)> &&callback) {
6 auto resp = drogon::HttpResponse::newHttpResponse();
7 resp->setContentTypeCode(drogon::CT_TEXT_PLAIN);
8 resp->setBody("OK");
9 callback(resp);
10}