Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

curlopt_proxyuserpwd(3) [mojave man page]

CURLOPT_PROXYUSERPWD(3) 				     curl_easy_setopt options					   CURLOPT_PROXYUSERPWD(3)

NAME
CURLOPT_PROXYUSERPWD - user name and password to use for proxy authentication SYNOPSIS
#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROXYUSERPWD, char *userpwd); DESCRIPTION
Pass a char * as parameter, which should be [user name]:[password] to use for the connection to the HTTP proxy. Both the name and the pass- word will be URL decoded before use, so to include for example a colon in the user name you should encode it as %3A. (This is different to how CURLOPT_USERPWD(3) is used - beware.) Use CURLOPT_PROXYAUTH(3) to specify the authentication method. The application does not have to keep the string around after setting this option. DEFAULT
This is NULL by default. PROTOCOLS
Used with all protocols that can use a proxy EXAMPLE
TODO AVAILABILITY
Always RETURN VALUE
Returns CURLE_OK if proxies are supported, CURLE_UNKNOWN_OPTION if not, or CURLE_OUT_OF_MEMORY if there was insufficient heap space. SEE ALSO
CURLOPT_PROXY(3), CURLOPT_PROXYTYPE(3), libcurl 7.54.0 December 21, 2016 CURLOPT_PROXYUSERPWD(3)

Check Out this Related Man Page

CURLOPT_SOCKS5_GSSAPI_SERVICE(3)			     curl_easy_setopt options				  CURLOPT_SOCKS5_GSSAPI_SERVICE(3)

NAME
CURLOPT_SOCKS5_GSSAPI_SERVICE - SOCKS5 proxy authentication service name SYNOPSIS
#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SOCKS5_GSSAPI_SERVICE, char *name); DESCRIPTION
Deprecated since 7.49.0. Use CURLOPT_PROXY_SERVICE_NAME(3) instead. Pass a char * as parameter to a string holding the name of the service. The default service name for a SOCKS5 server is "rcmd". This option allows you to change it. The application does not have to keep the string around after setting this option. DEFAULT
See above PROTOCOLS
All network protocols EXAMPLE
TODO AVAILABILITY
Added in 7.19.4, deprecated in 7.49.0 RETURN VALUE
Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or CURLE_OUT_OF_MEMORY if there was insufficient heap space. SEE ALSO
CURLOPT_PROXY(3), CURLOPT_PROXYTYPE(3), libcurl 7.54.0 December 21, 2016 CURLOPT_SOCKS5_GSSAPI_SERVICE(3)
Man Page