Skip to content
POE::Component::Client::HTTP is a parallel HTTP user-agent for POE. It lets other sessions run while HTTP transactions are being processed, and it lets several HTTP transactions be processed in parallel. POE::Component::Client::HTTP supports keep-alive through POE::Component::Client::Keepalive, which in turn uses POE::Component::Client::DNS for …
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.




POE::Component::Client::HTTP is an asynchronous, event driven HTTP
user agent.  It accepts events containing HTTP::Request objects, and
it returns events carrying HTTP::Response objects.  It supports https
and simultaneous HTTP transactions.


POE::Component::Client::HTTP requires to be
available.  Transient network problems (or testing the module from a
disconnected machine) may cause it to fail.

This module requires POE, HTTP::Request, and HTTP::Response.  The
requirements are encoded in Makefile.PL, so the CPAN shell should do
the right thing.  If this is installed without the CPAN shell, the
person installing it will have to do the right thing manually.

SSL (https) support requires Net::SSLeay::Handle.

Basic Installation

POE::Component::Client::HTTP may be installed through the CPAN shell
in the usual CPAN shell manner.  This typically is:

  $ perl -MCPAN -e 'intstall POE::Component::Client::HTTP'

You can also read this README from the CPAN shell:

  $ perl -MCPAN -e shell
  cpan> readme POE::Component::Client::HTTP

And you can install the component from the CPAN prompt as well:

  cpan> install POE::Component::Client::HTTP

Manual Installation

POE::Component::Client::HTTP can also be installed manually.
<> or a similarly
named directory at your favorite CPAN mirror should hold the latest

Downloading and unpacking the distribution are left as exercises for
the reader.  To build and test it:

  perl Makefile.PL
  make test

The test programs, t/01_get.t and t/02_put.t, make excellent sample
programs.  If you would like to see more details about the tests'
operations, edit them and set their DEBUG constants to any value Perl
considers "true".

When you're ready to install the component:

  make install

It should now be ready to use.

Thanks for reading!

-- Rocco Caputo / / /
Something went wrong with that request. Please try again.