summaryrefslogtreecommitdiff
path: root/src/http.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2022-11-29 15:53:02 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2022-11-29 15:53:02 -0500
commit573a61919149d8d0119601a06e23322b71c778c3 (patch)
tree0f9fd234f4b7f5c409172a5d6afe9897b6f88097 /src/http.hpp
parent77dd9fabfa054bd8fa24f869b976da7ee69c8a87 (diff)
parentc5807a3463aaefc89e2432730b997437305af59a (diff)
downloadabaddon-portaudio-573a61919149d8d0119601a06e23322b71c778c3.tar.gz
abaddon-portaudio-573a61919149d8d0119601a06e23322b71c778c3.zip
Merge branch 'master' into keychain
Diffstat (limited to 'src/http.hpp')
-rw-r--r--src/http.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/http.hpp b/src/http.hpp
index 90a514a..63b6e38 100644
--- a/src/http.hpp
+++ b/src/http.hpp
@@ -122,6 +122,8 @@ struct request {
response execute();
+ CURL *get_curl();
+
private:
void prepare();
@@ -129,7 +131,6 @@ private:
std::string m_url;
const char *m_method;
curl_slist *m_header_list = nullptr;
- std::array<char, CURL_ERROR_SIZE> m_error_buf = { 0 };
curl_mime *m_form = nullptr;
std::function<void(curl_off_t, curl_off_t)> m_progress_callback;