-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.ProxyEngine
libcURL.ProxyEngine
Protected Class ProxyEngine
This class presents an interface to libcURL's proxy management subsystem (the "proxy engine"). Each instance of EasyHandle has its own proxy engine.
Use this class to set the proxy options for subsequent transfers. libcURL supports using SOCKS4, SOCKS5, HTTP proxy, and HTTP tunnel servers.
Generally, you should not create your own instances of this class. Instead use the ProxyEngine reference belonging to the EasyHandle whose proxy options you want to modify.
Set (at least) the proxy Address
property to enable proxying; set the Address
to the empty string (""
) to disable. Once enabled, all subsequent requests will be sent through the proxy.
To exclude a specific domain or IP address from proxying call the ExcludeHost
method. To stop excluding a host call the IncludeHost
method. To determine whether requests to a particular host will be proxied call the IsProxied
method.
- Constructor
- ExcludeHost
- GetAuthMethods
- IncludeHost
- IsProxied
- SetAuthMethods
- SetHeader
SetProxyHeader
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.