github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

rcaputo / poe-component-client-http

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 2
    • 1
  • Source
  • Commits
  • Network (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (51)
    • v0_7002
    • v0_7001
    • v0_5102
    • v0_5101
    • v0_893
    • v0_892
    • v0_891
    • v0_890
    • v0_94
    • v0_88
    • v0_87
    • v0_86
    • v0_85
    • v0_84
    • v0_83
    • v0_82
    • v0_81
    • v0_80
    • v0_79
    • v0_78
    • v0_77
    • v0_76
    • v0_75
    • v0_74
    • v0_73
    • v0_72
    • v0_71
    • v0_70
    • v0_65
    • v0_64
    • v0_63
    • v0_62
    • v0_61
    • v0_60
    • v0_59
    • v0_57
    • v0_56
    • v0_54
    • v0_53
    • v0_52
    • v0_51
    • v0_50
    • v0_49
    • v0_48
    • v0_47
    • v0_45
    • v0_44
    • v0_42
    • v0_38
    • v0_36
    • RELEASE_0_72
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

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 non-blocking host name resolution. — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Add X-PCCH-Peer header containing the socket peer address:port.  Feature 
requested by Doreen Grey on POE's mailing list. 
rcaputo (author)
Sun Jan 31 00:28:51 -0800 2010
commit  25fdd2daebbfef43e310955cae152d49a3769074
tree    0e850a9e40fed1ba3e62e929ed44477f3e157729
parent  dcae62b587432be3864896c5c01cd3fc1425a8c5
poe-component-client-http /
name age
history
message
file .releaserc Mon Sep 14 09:16:36 -0700 2009 Upgrade distribution to git based workflow. [rcaputo]
file CHANGES.OLD Mon Sep 14 09:16:36 -0700 2009 Upgrade distribution to git based workflow. [rcaputo]
file MANIFEST Mon Oct 12 21:01:16 -0700 2009 Add a 00_info.t test to help diagnose platform ... [rcaputo]
file META.yml Mon Oct 16 09:16:06 -0700 2006 add resources tag to META.yml file for cpants -... [Jeff Bisbee]
file Makefile.PL Wed Oct 14 00:06:39 -0700 2009 Prepare for release. [rcaputo]
file README Loading commit data...
directory examples/ Mon Sep 14 09:16:36 -0700 2009 Upgrade distribution to git based workflow. [rcaputo]
directory lib/
directory t/ Sun Jan 31 00:28:51 -0800 2010 Add X-PCCH-Peer header containing the socket pe... [rcaputo]
README
--------
Abstract
--------

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.

------------
Requirements
------------

POE::Component::Client::HTTP requires http://poe.perl.org/ 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.
<ftp://ftp.cpan.org/pub/CPAN/authors/id/R/RC/RCAPUTO/> or a similarly
named directory at your favorite CPAN mirror should hold the latest
version.

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 / troc@netrus.net / poe.perl.org / poe.sourceforge.net
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server