easy:SetOpt_ProxyType(type)
#CURLPROXY_HTTP
#CURLPROXY_HTTPS
#CURLPROXY_HTTP_1_0
#CURLPROXY_HTTP
except it uses HTTP/1.0
for any CONNECT tunnelling. It does not change the HTTP version of the actual
HTTP requests, controlled by #CURLOPT_HTTP_VERSION
.
#CURLPROXY_SOCKS4
#CURLPROXY_SOCKS4A
#CURLPROXY_SOCKS5
#CURLPROXY_SOCKS5_HOSTNAME
Often it is more convenient to specify the proxy type with the scheme part of
the #CURLOPT_PROXY
string.