diff --git a/include/curl_wrapper.hpp b/include/curl_wrapper.hpp index 267de96..01a753e 100644 --- a/include/curl_wrapper.hpp +++ b/include/curl_wrapper.hpp @@ -113,6 +113,21 @@ public: //! Move assignment operator CURLWrapper& operator=(CURLWrapper &&other) noexcept = default; + /*! + * @brief Returns pointer to the CURL easy handle. + * + * You can use this handle to set or modify curl options. For more + * information consult [curl_easy_setopt(3)] + * (https://curl.haxx.se/libcurl/c/curl_easy_setopt.html). + * + * @since 0.1.0 + */ + inline CURL *get_curl_easy_handle() + { + return _connection; + } + +protected: /*! * @brief Make a request. *