Hide CURLWrapper::set_proxy().

This commit is contained in:
tastytea 2020-01-12 17:00:49 +01:00
parent b192bc70c7
commit 78ef177e58
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07

View File

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