IOMux-HTTP
view release on metacpan or search on metacpan
lib/IOMux/HTTP/Client.pod view on Meta::CPAN
=head1 NAME
IOMux::HTTP::Client - HTTP client implementation
=head1 INHERITANCE
IOMux::HTTP::Client
is a IOMux::HTTP
is a IOMux::Net::TCP
is a IOMux::Handler::Read
is a IOMux::Handler
IOMux::Net::TCP also extends IOMux::Handler::Write
is a IOMux::Handler::Write
is a IOMux::Handler
=head1 SYNOPSIS
my $socket = IO::Socket::INET->new(@sock_params);
my $socket = IO::Socket::SSL->new(@sock_params);
my $client = IOMux::HTTP::Client->new(socket => $socket);
$mux->add($client);
# or in one go:
my $client = $mux->add(IOMux::HTTP::Client->new(@sock_params));
=head1 DESCRIPTION
Handles a HTTP/1.1 connection to a HTTP server, for L<IOMux|IOMux> based
applications B<only>. The multiplexer allows one application to sent
requests and receive answers from multiple servers in parallel in one
single process.
B<WARNING>: Writing event driven programs in a challenge.
=head1 METHODS
=head2 Constructors
=over 4
=item IOMux::HTTP::Client-E<gt>B<new>(OPTIONS)
See L<IOMux::HTTP/"Constructors">
=item IOMux::HTTP::Client-E<gt>B<open>(MODE, WHAT, OPTIONS)
See L<IOMux::Handler/"Constructors">
=item IOMux::HTTP::Client-E<gt>B<open>(MODE, WHAT, OPTIONS)
See L<IOMux::Handler/"Constructors">
=back
=head2 Accessors
=over 4
=item $obj-E<gt>B<fh>
See L<IOMux::Handler/"Accessors">
=item $obj-E<gt>B<fh>
See L<IOMux::Handler/"Accessors">
=item $obj-E<gt>B<fileno>
See L<IOMux::Handler/"Accessors">
=item $obj-E<gt>B<fileno>
See L<IOMux::Handler/"Accessors">
=item $obj-E<gt>B<msgsSent>
=item $obj-E<gt>B<mux>
See L<IOMux::Handler/"Accessors">
=item $obj-E<gt>B<mux>
See L<IOMux::Handler/"Accessors">
=item $obj-E<gt>B<name>
See L<IOMux::Handler/"Accessors">
=item $obj-E<gt>B<name>
( run in 1.620 second using v1.01-cache-2.11-cpan-39bf76dae61 )