MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / HttpHandler

Method HttpHandler

src/render_panel/network/http_handler.cpp:31–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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"));

Callers

nothing calls this directly

Calls 2

GetRunGameManagerMethod · 0.80
GetContextMethod · 0.45

Tested by

no test coverage detected