diff options
Diffstat (limited to 'include/connection.hpp')
-rw-r--r-- | include/connection.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/connection.hpp b/include/connection.hpp index 1d3a273..c6d557c 100644 --- a/include/connection.hpp +++ b/include/connection.hpp @@ -93,6 +93,25 @@ public: } /*! + * @brief Copy constructor. A new CURLWrapper is constructed. + * + * @since 0.5.2 + */ + Connection(const Connection &other) = default; + + //! Move constructor + Connection(Connection &&other) noexcept = delete; + + //! Destructor + ~Connection() noexcept override = default; + + //! Copy assignment operator + Connection& operator=(const Connection &other) = delete; + + //! Move assignment operator + Connection& operator=(Connection &&other) noexcept = delete; + + /*! * @brief Make a HTTP GET call with parameters. * * Example: |