Skip to content

libcURL.ProxyEngine

Andrew Lambert edited this page Jan 14, 2023 · 24 revisions

libcURL.ProxyEngine

Class Declaration

 Protected Class ProxyEngine

Remarks

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.

Methods

Properties

See also

Clone this wiki locally