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_PROXYPASSWORD(3)				     curl_easy_setopt options					  CURLOPT_PROXYPASSWORD(3)

NAME
CURLOPT_PROXYPASSWORD - password to use with proxy authentication SYNOPSIS
#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROXYPASSWORD, char *pwd); DESCRIPTION
Pass a char * as parameter, which should be pointing to the zero terminated password to use for authentication with the proxy. The CURLOPT_PROXYPASSWORD(3) option should be used in conjunction with the CURLOPT_PROXYUSERNAME(3) option. The application does not have to keep the string around after setting this option. DEFAULT
blank PROTOCOLS
Most EXAMPLE
TODO AVAILABILITY
Added in 7.19.1 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_PASSWORD(3), CURLOPT_PROXYUSERNAME(3), CURLOPT_HTTPAUTH(3), CURLOPT_PROXYAUTH(3) libcurl 7.54.0 December 21, 2016 CURLOPT_PROXYPASSWORD(3)
Man Page