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

Method send_query

net/TcpConnection.cpp:173–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173void TcpConnection::send_query(td::int64 query_id, td::BufferSlice data) {
174 send(create_serialize_tl_object<cocoon_api::tcp_query>(query_id, std::move(data)));
175}
176
177void TcpConnection::send_query_answer(td::int64 query_id, td::BufferSlice data) {
178 send(create_serialize_tl_object<cocoon_api::tcp_queryAnswer>(query_id, std::move(data)));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected