Apache-HTTunnel
view release on metacpan or search on metacpan
Client/httunnel view on Meta::CPAN
my $cfg = shift ;
my $this = $class->SUPER::new($cfg->{url}, @_) ;
$this->{__PACKAGE__}->{cfg} = $cfg ;
bless($this, $class) ;
return $this ;
}
sub get_basic_credentials {
my $this = shift ;
my $realm = shift ;
my $uri = shift ;
my $proxy = shift ;
my $cfg = $this->{__PACKAGE__}->{cfg} ;
if ($proxy){
return ($cfg->{http_proxy_username}, $cfg->{http_proxy_password}) ;
}
( run in 0.895 second using v1.01-cache-2.11-cpan-a5abf4f5562 )