| 179 | } |
| 180 | |
| 181 | void TcpConnection::send_query_answer_error(td::int64 query_id, td::Status error) { |
| 182 | send(create_serialize_tl_object<cocoon_api::tcp_queryError>(query_id, error.code(), error.message().str())); |
| 183 | } |
| 184 | |
| 185 | td::Status TcpConnection::receive(td::ChainBufferReader &input, bool &exit_loop) { |
| 186 | if (stop_read_) { |