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

Method process_request_response

runners/worker/WorkerRunningRequest.cpp:170–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170void WorkerRunningRequest::process_request_response(td::int32 status_code,
171 std::vector<std::pair<std::string, std::string>> headers,
172 std::string payload_part, bool payload_is_completed) {
173 send_answer(status_code, std::move(headers), std::move(payload_part), payload_is_completed);
174}
175
176void WorkerRunningRequest::send_error(td::Status error) {
177 if (completed_) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected