AnyEvent-Connector
view release on metacpan or search on metacpan
{
"abstract" : "tcp_connect with transparent proxy handling",
"author" : [
"Toshio Ito <toshioito@cpan.org>"
],
"dynamic_config" : 1,
"generated_by" : "Module::Build version 0.4231",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
---
abstract: 'tcp_connect with transparent proxy handling'
author:
- 'Toshio Ito <toshioito@cpan.org>'
build_requires:
AnyEvent::Handle: '0'
AnyEvent::Socket: '0'
Net::EmptyPort: '0'
Test::More: '0'
configure_requires:
Module::Build: '0.42'
Module::Build::Prereqs::FromCPANfile: '0.02'
lib/AnyEvent/Connector.pm view on Meta::CPAN
}, $prepare_cb;
}
1;
__END__
=pod
=head1 NAME
AnyEvent::Connector - tcp_connect with transparent proxy handling
=head1 SYNOPSIS
use AnyEvent::Connector;
## Specify the proxy setting explicitly.
my $c = AnyEvent::Connector->new(
proxy => 'http://proxy.example.com:8080',
no_proxy => ['localhost', 'your-internal-domain.net']
);
lib/AnyEvent/Connector.pm view on Meta::CPAN
## prepare calback
my ($fh) = @_;
...;
}
);
=head1 DESCRIPTION
L<AnyEvent::Connector> object has C<tcp_connect> method compatible
with that from L<AnyEvent::Socket>, and it handles proxy settings
transparently.
=head1 CLASS METHODS
=head2 $conn = AnyEvent::Connector->new(%args)
The constructor.
Fields in C<%args> are:
=over
( run in 1.273 second using v1.01-cache-2.11-cpan-a1d94b6210f )