Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
The proxy port to connect to unless it is specified in the proxy string with CURL.SetOptionProxy.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 2.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
curl | The CURL session handle. | $curl |
Value | The new port value. | 8080 |
Returns "OK" on success.
See also PROXYPORT option in CURL manual.
Set proxy with explicit port:
Set Variable [ $r; MBS( "CURL.SetOptionProxy"; $curl; "http://cache.local.com/“)]
Set Variable [ $r; MBS( "CURL.SetOptionProxyPort"; $curl; 8000)]
Created 18th August 2014, last changed 4th February 2016
CURL.SetOptionProxyPinnedPublicKey - CURL.SetOptionProxySSLCert
Feedback: Report problem or ask question.