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. *