MCPcopy Create free account
hub / github.com/TelegramMessenger/cocoon / generate_proxy_debug_inner

Method generate_proxy_debug_inner

runners/proxy/ProxyRunningRequest.cpp:256–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256std::string ProxyRunningRequest::generate_proxy_debug_inner() {
257 nlohmann::json v;
258 v["type"] = "proxy_stats";
259 v["start_time"] = start_time_unix_;
260 v["answer_receive_start_at"] = received_answer_time_unix_;
261 v["answer_receive_end_at"] = td::Clocks::system();
262 return v.dump();
263}
264
265ton::tl_object_ptr<cocoon_api::client_queryFinalInfo> ProxyRunningRequest::create_final_info(
266 cocoon_api::proxy_queryFinalInfo *info) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected