2019-06-26 15:51:48 +02:00
|
|
|
//
|
2022-01-01 01:35:39 +01:00
|
|
|
// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2022
|
2019-06-26 15:51:48 +02:00
|
|
|
//
|
|
|
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
//
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "td/utils/ByteFlow.h"
|
|
|
|
|
|
|
|
namespace td {
|
2019-07-09 05:56:06 +02:00
|
|
|
namespace mtproto {
|
2019-06-26 15:51:48 +02:00
|
|
|
|
|
|
|
class TlsReaderByteFlow final : public ByteFlowBase {
|
|
|
|
public:
|
2021-07-03 22:51:36 +02:00
|
|
|
bool loop() final;
|
2019-06-26 15:51:48 +02:00
|
|
|
};
|
|
|
|
|
2019-07-09 05:56:06 +02:00
|
|
|
} // namespace mtproto
|
2019-06-26 15:51:48 +02:00
|
|
|
} // namespace td
|