View on
MetaCPAN
search.cpan.org is shutting down
For details read Perl NOC. After June 25th this page will redirect to MetaCPAN.org
Tatsuhiko Miyagawa > HTTP-ProxyPAC-0.01 > HTTP::ProxyPAC::Result

Download:
HTTP-ProxyPAC-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: HTTP-ProxyPAC-0.31

NAME ^

HTTP::ProxyPAC::Result - Result object for HTTP::ProxyPAC find_proxy

SYNOPSIS ^

  my $pac = HTTP::ProxyPAC->new($url);
  my $res = $pac->find_proxy('http://www.google.com/');

  $res->direct;
  $res->proxy;
  $res->socks;

DESCRIPTION ^

HTTP::ProxyPAC::Result is a class to encapsulate result object from find_proxy method.

METHODS ^

direct

Boolean to indicate that the result is DIRECT or not.

proxy

URI object for the actual proxy server URL, if Result type is PROXY, otherwise undef.

socks

URI object for the actual socks server URL, if Result type is SOCKSn, otherwise undef.

AUTHOR ^

Tatsuhiko Miyagawa

SEE ALSO ^

HTTP::ProxyPAC

syntax highlighting: