Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

CURL.SetOptionProxyUsername

The user name to use for the transfer while connecting to Proxy.

Component Version macOS Windows Linux Server iOS SDK
CURL 2.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.SetOptionProxyUsername"; curl; Value { ; Encoding } )   More

Parameters

Parameter Description Example Flags
curl The CURL session handle. $curl
Value The user name. "testuser"
Encoding The text encoding for text parameter.
Default is UTF-8.
Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the FAQ.
"UTF8" Optional

Result

Returns "OK" on success.

Description

The user name to use for the transfer while connecting to Proxy.
In order to specify the password to be used in conjunction with the user name use the CURL.SetOptionProxyPassword option.

See also PROXYUSERNAME option in CURL manual.

See also

Blog Entries

Created 18th August 2014, last changed 5th July 2015


CURL.SetOptionProxyType - CURL.SetOptionPut