Apache-HTTunnel
view release on metacpan or search on metacpan
Client/httunnel view on Meta::CPAN
BEGIN { @My::HTTunnel::Client::ISA = qw(HTTunnel::Client) ; }
use strict ;
sub new {
my $class = shift ;
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 ;
Client/lib/HTTunnel/Client.pm view on Meta::CPAN
$HTTunnel::Client::VERSION = '0.08' ;
sub new {
my $class = shift ;
my $url = shift ;
my %lwp_agent_args = @_ ;
my $this = $class->SUPER::new(
agent => 'HTTunnel::Client/$HTTunnel::Client::VERSION',
keep_alive => 1,
%lwp_agent_args
) ;
$url =~ s/\/+$// ;
$this->{__PACKAGE__}->{url} = $url ;
$this->{__PACKAGE__}->{pid} = 0 ;
$this->{__PACKAGE__}->{peer_info} = 0 ;
( run in 1.534 second using v1.01-cache-2.11-cpan-49f99fa48dc )