diff options
Diffstat (limited to 'src/http.cpp')
-rw-r--r-- | src/http.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http.cpp b/src/http.cpp index ba3ce3c..0fae39f 100644 --- a/src/http.cpp +++ b/src/http.cpp @@ -98,6 +98,10 @@ void request::set_user_agent(const std::string &data) { curl_easy_setopt(m_curl, CURLOPT_USERAGENT, data.c_str()); } +CURL *request::get_curl() { + return m_curl; +} + void request::make_form() { m_form = curl_mime_init(m_curl); } |