haiku/headers/private/netservices2/HttpSession.h
Niels Sascha Reedijk 1715bb67ea netservices: Flesh out BHttpSession::Impl data and control structures
Change-Id: I4230570ea8339b12d855f7de7fa72e4664013e2d
2021-12-17 17:40:15 +00:00

42 lines
716 B
C++

/*
* Copyright 2021 Haiku Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _B_HTTP_SESSION_H_
#define _B_HTTP_SESSION_H_
#include <memory>
class BUrl;
namespace BPrivate {
namespace Network {
class BHttpSession {
public:
// Constructors & Destructor
BHttpSession();
BHttpSession(const BHttpSession&) noexcept;
BHttpSession(BHttpSession&&) noexcept = delete;
~BHttpSession() noexcept;
// Assignment operators
BHttpSession& operator=(const BHttpSession&) noexcept;
BHttpSession& operator=(BHttpSession&&) noexcept = delete;
private:
class Request;
class Impl;
std::shared_ptr<Impl> fImpl;
};
}
}
#endif // _B_HTTP_REQUEST_H_