| 29 | { |
| 30 | |
| 31 | HttpHandler::HttpHandler(const std::shared_ptr<GrApplication>& app) { |
| 32 | this->context_ = app->GetContext(); |
| 33 | this->app_ = app; |
| 34 | this->run_game_mgr_ = app->GetContext()->GetRunGameManager(); |
| 35 | } |
| 36 | |
| 37 | void HttpHandler::HandlePing(http::web_request &req, http::web_response &rep) { |
| 38 | auto data = WrapBasicInfo(200, "ok", std::string("Pong")); |
nothing calls this directly
no test coverage detected