Add get_curl_easy_handle().
This commit is contained in:
parent
5d90fa97f1
commit
f195c5bcef
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue
Block a user