BHttpSession
friend class BHttpSession;
friend class BHttpSession;
class BHttpSession
BHttpSession();
BHttpSession(const BHttpSession&) noexcept;
BHttpSession(BHttpSession&&) noexcept = delete;
~BHttpSession() noexcept;
BHttpSession& operator=(const BHttpSession&) noexcept;
BHttpSession& operator=(BHttpSession&&) noexcept = delete;
BHttpSession::Request::Disconnect() noexcept
BHttpSession::Request::SendMessage(uint32 what, std::function<void(BMessage&)> dataFunc) const
class BHttpSession::Impl
std::vector<BHttpSession::Request> GetRequestsForControlThread();
std::list<BHttpSession::Request> fControlQueue;
std::deque<BHttpSession::Request> fDataQueue;
std::map<int, BHttpSession::Request> connectionMap;
struct BHttpSession::Redirect {
BHttpSession::Impl::Impl()
BHttpSession::Impl::~Impl() noexcept
BHttpSession::Impl::Execute(BHttpRequest&& request, BBorrow<BDataIO> target, BMessenger observer)
BHttpSession::Impl::Cancel(int32 identifier)
BHttpSession::Impl::SetMaxConnectionsPerHost(size_t maxConnections)
BHttpSession::Impl::SetMaxHosts(size_t maxConnections)
BHttpSession::Impl::ControlThreadFunc(void* arg)
BHttpSession::Impl* impl = static_cast<BHttpSession::Impl*>(arg);
BHttpSession::Impl::DataThreadFunc(void* arg)
BHttpSession::Impl* data = static_cast<BHttpSession::Impl*>(arg);
std::vector<BHttpSession::Request>
BHttpSession::Impl::GetRequestsForControlThread()
std::vector<BHttpSession::Request> requests;
class BHttpSession::Request
BHttpSession::BHttpSession()
fImpl = std::make_shared<BHttpSession::Impl>();
BHttpSession::~BHttpSession() = default;
BHttpSession::BHttpSession(const BHttpSession&) noexcept = default;
BHttpSession& BHttpSession::operator=(const BHttpSession&) noexcept = default;
BHttpSession::Execute(BHttpRequest&& request, BBorrow<BDataIO> target, BMessenger observer)
BHttpSession::Cancel(int32 identifier)
BHttpSession::Cancel(const BHttpResult& request)
BHttpSession::SetMaxConnectionsPerHost(size_t maxConnections)
BHttpSession::SetMaxHosts(size_t maxConnections)
BHttpSession::Request::Request(BHttpRequest&& request, BBorrow<BDataIO> target, BMessenger observer)
BHttpSession::Request::Request(Request& original, const BHttpSession::Redirect& redirect)
BHttpSession::Request::SetError(std::exception_ptr e)
BHttpSession::Request::GetHost() const
BHttpSession::Request::SetCounter(int32* counter) noexcept
BHttpSession::Request::ResolveHostName()
BHttpSession::Request::OpenConnection()
BHttpSession::Request::TransferRequest()
BHttpSession::Request::ReceiveResult()
auto redirect = BHttpSession::Redirect{
using BPrivate::Network::BHttpSession;
using BPrivate::Network::BHttpSession;
BHttpSession fSession;