From 78ef177e58bf3b113d339038499544b0fa50284e Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 12 Jan 2020 17:00:49 +0100 Subject: [PATCH] Hide CURLWrapper::set_proxy(). --- include/curl_wrapper.hpp | 24 ++++++++++++------------ 1 file 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 @@ -145,18 +145,6 @@ public: return _connection; } - /*! - * @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. * @@ -248,6 +236,18 @@ protected: _stream_cancelled = true; } + /*! + * @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. *