HTTP::ProxyPAC::Result - Result object from HTTP::ProxyPAC find_proxy
my $pac = HTTP::ProxyPAC->new($url);
my $res = $pac->find_proxy('http://www.google.com/');
$res->direct;
$res->proxy;
$res->socks;
HTTP::ProxyPAC::Result is the class of the result object from the find_proxy
method of HTTP::ProxyPAC.
- direct
- Boolean to indicate whether the result is DIRECT or not.
- proxy
- URI object for the proxy server URL if the result is PROXY, otherwise
undef.
- socks
- URI object for the socks server URL if the result is SOCKS, otherwise
undef.