libcURL.ProxyEngine - charonn0/RB-libcURL GitHub Wiki
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
- Constructor
- ExcludeHost
- GetAuthMethods
- IncludeHost
- IsProxied
- SetAuthMethods
- SetHeader
SetProxyHeader
Properties
- Address As String
- CA_List As MemoryBlock
- CA_ListFile As FolderItem
- HTTPTunnel As Boolean
- Password As String
- Port As Integer
- Secure As Boolean
- ServiceName As String
- Type As libcURL.ProxyType
- UnifiedHeaders As Boolean
- Username As String