proxyRules property
List of proxy rules to be used for all URLs. This method can be called multiple times to add multiple rules. Additional rules have decreasing precedence.
Proxy is a string in the format [scheme://]host[:port]
.
Scheme is optional, if present must be HTTP
, HTTPS
or SOCKS and defaults to HTTP
.
Host is one of an IPv6 literal with brackets, an IPv4 literal or one or more labels separated by a period.
Port number is optional and defaults to 80
for HTTP
, 443
for HTTPS
and 1080
for SOCKS
.
The correct syntax for hosts is defined by RFC 3986.
Implementation
List<ProxyRule> proxyRules;