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

Method receive_http_request

runners/BaseRunner.cpp:722–727  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

720}
721
722void BaseRunner::receive_http_request(http::HttpCallback::RequestType request_type,
723 std::vector<std::pair<std::string, std::string>> headers, std::string path,
724 std::vector<std::pair<std::string, std::string>> args, std::string body,
725 std::unique_ptr<http::HttpRequestCallback> answer_callback) {
726 http_send_static_answer(404, "not found", std::move(answer_callback));
727}
728
729/*
730 *

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected