Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CURL.SetOptionHTTPProxyTunnel
Set to 1 to make the library tunnel all operations through a given HTTP proxy.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 2.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "CURL.SetOptionHTTPProxyTunnel"; curl; Value ) More
Parameters
Parameter | Description | Example |
---|---|---|
curl | The CURL session handle. | $curl |
Value | Whether to tunnel or not. (1 to tunnel, 0 to not tunnel) | 1 |
Result
Returns "OK" on success.
Description
Set to 1 to make the library tunnel all operations through a given HTTP proxy.There is a big difference between using a proxy and to tunnel through it. If you don't know what this means, you probably don't want this tunneling option.
See also HTTPPROXYTUNNEL option in CURL manual.
See also
Blog Entries
Created 18th August 2014, last changed 18th August 2014
CURL.SetOptionHTTPHeader - CURL.SetOptionHTTPTransferDecoding