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

Method send_packet

net/TcpConnection.cpp:169–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169void TcpConnection::send_packet(td::BufferSlice data) {
170 send(create_serialize_tl_object<cocoon_api::tcp_packet>(std::move(data)));
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)));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected