Property | Type | Description | |
---|---|---|---|
AutoConfigURL | string | ||
ProxyOverride | string | ||
ProxyServer | string |
Method | Description | |
---|---|---|
GetHttpSpecificProxy ( string &proxy_host, int &proxy_port ) : void |
Retrieve the HTTP-specific proxy settings
|
|
GetHttpsSpecificProxy ( string &proxy_host, int &proxy_port ) : void |
Retrieve the HTTP-specific proxy settings
|
|
GetProtocolSpecificProxy ( string protocol, int default_port, string &proxy_host, int &proxy_port ) : void |
Extract protocol-specific proxy settings
|
|
SetHttpSpecificProxy ( string proxy_host, int proxy_port ) : void |
Replace the proxy for the HTTP protocol; proxy settings for the other protocols are left unchanged ProxyEnable is not modified either, and must be updated separately. |
|
SystemProxySettings ( bool proxyEnable, string proxyServer, string proxyOverride ) : System |
Constructor with default (empty) auto config URL
|
|
SystemProxySettings ( bool proxyEnable, string proxyServer, string proxyOverride, string autoConfigURL ) : System |
Constructor
|
|
ToString ( ) : string |
Human-readable representation
|
public GetHttpSpecificProxy ( string &proxy_host, int &proxy_port ) : void | ||
proxy_host | string | |
proxy_port | int | |
return | void |
public GetHttpsSpecificProxy ( string &proxy_host, int &proxy_port ) : void | ||
proxy_host | string | |
proxy_port | int | |
return | void |
public GetProtocolSpecificProxy ( string protocol, int default_port, string &proxy_host, int &proxy_port ) : void | ||
protocol | string | /// One of "ftp=", "socks=", "http=", "https="; it must end with a /// '=' sign. /// |
default_port | int | /// The default port for the protocol, e.g. 80 for HTTP /// |
proxy_host | string | /// Will be set to the proxy host name /// |
proxy_port | int | /// Will be set to the proxy port /// |
return | void |
public SetHttpSpecificProxy ( string proxy_host, int proxy_port ) : void | ||
proxy_host | string | |
proxy_port | int | |
return | void |
public SystemProxySettings ( bool proxyEnable, string proxyServer, string proxyOverride ) : System | ||
proxyEnable | bool | |
proxyServer | string | |
proxyOverride | string | |
return | System |
public SystemProxySettings ( bool proxyEnable, string proxyServer, string proxyOverride, string autoConfigURL ) : System | ||
proxyEnable | bool | |
proxyServer | string | |
proxyOverride | string | |
autoConfigURL | string | |
return | System |