summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/curl_wrapper.hpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/curl_wrapper.hpp b/include/curl_wrapper.hpp
index c20be33..4b681c0 100644
--- a/include/curl_wrapper.hpp
+++ b/include/curl_wrapper.hpp
@@ -146,18 +146,6 @@ public:
}
/*!
- * @brief Set the proxy to use.
- *
- * See [CURLOPT_PROXY(3)]
- * (https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html).
- *
- * @param proxy Examples: "socks4a://127.0.0.1:9050", "http://[::1]:3128".
- *
- * @since 0.1.0
- */
- void set_proxy(string_view proxy);
-
- /*!
* @brief URL encodes the given string.
*
* For more information consult [curl_easy_escape(3)]
@@ -249,6 +237,18 @@ protected:
}
/*!
+ * @brief Set the proxy to use.
+ *
+ * See [CURLOPT_PROXY(3)]
+ * (https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html).
+ *
+ * @param proxy Examples: "socks4a://127.0.0.1:9050", "http://[::1]:3128".
+ *
+ * @since 0.1.0
+ */
+ void set_proxy(string_view proxy);
+
+ /*!
* @brief Set OAuth 2.0 Bearer Access Token.
*
* @since 0.1.0