Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
HTTP::ProxyPAC::ResultUser Contributed Perl DocumentaHTTP::ProxyPAC::Result(3)

NAME
       HTTP::ProxyPAC::Result -	Result object from 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 the class of the result object	from the
       find_proxy method of HTTP::ProxyPAC.

METHODS
       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.

AUTHOR
       Tatsuhiko Miyagawa

SEE ALSO
       HTTP::ProxyPAC

perl v5.24.1			  2010-03-12	     HTTP::ProxyPAC::Result(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=HTTP::ProxyPAC::Result&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help