Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Import of KIRILL/POE-Component-Client-UserAgent-0.03 from CPAN.
gitpan-cpan-distribution: POE-Component-Client-UserAgent gitpan-cpan-version: 0.03 gitpan-cpan-path: KIRILL/POE-Component-Client-UserAgent-0.03.tar.gz gitpan-cpan-author: KIRILL gitpan-cpan-maturity: released
- Loading branch information
Кирилл
authored and
Gitpan
committed
Oct 22, 2014
0 parents
commit c9ae99d
Showing
7 changed files
with
992 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
Revision history for POE::Component::Client::UserAgent | ||
====================================================== | ||
|
||
POE::Component::Client::UserAgent 0.03 | ||
2001-06-07 | ||
- timeout handling added | ||
- removed code copied from LWP::Parallel, instead use | ||
the new hooks added by the LWP::PUA maintainer | ||
- use the non-blocking connect code included in LWP::Parallel, | ||
the modified http.pm file is no longer needed | ||
- this version requires POE 0.1402 and LWP::Parallel 2.51 or later | ||
- a readme file added | ||
|
||
POE::Component::Client::UserAgent 0.02 | ||
2001-05-17 | ||
- new method made an alias of the spawn method | ||
- expedite selects and _error event added to catch TCP errors | ||
- postbacks are used to keep the client session alive. | ||
The client session is responsible for creating the postback. | ||
- component renamed to POE::Component::Client::UserAgent | ||
- discard_entry overridden to try and do better cleanup | ||
- documentation added and posted on the web | ||
- CPAN style distribution created | ||
|
||
POE::Component::UserAgent 0.01 | ||
2001-03-21 | ||
- new method | ||
- _start, _stop, _signal standard events | ||
- request and shutdown events | ||
- _write and _read event code taken almost verbatim from LWP::PUA | ||
- _connect, on_return and on_failure overrides | ||
- 01basic.t and 02multi.t test scripts | ||
- debugging facilities, debug method | ||
- hacked version of LWP::Parallel::Protocol::http for non-blocking connects |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Changes | ||
Makefile.PL | ||
MANIFEST | ||
README | ||
UserAgent.pm | ||
t/01basic.t | ||
t/02multi.t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
use ExtUtils::MakeMaker; | ||
|
||
WriteMakefile ( | ||
NAME => 'POE::Component::Client::UserAgent', | ||
VERSION_FROM => 'UserAgent.pm', | ||
AUTHOR => 'Kirill Shuykin <http://www.en-directo.net/mail/kirill.html>', | ||
ABSTRACT => 'LWP and LWP::Parallel based POE component.', | ||
PM => { 'UserAgent.pm' => '$(INST_LIBDIR)/UserAgent.pm' }, | ||
PREREQ_PM => { | ||
POE => 0.1402, | ||
LWP::Parallel => 2.51 | ||
} | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
POE::Component::Client::UserAgent | ||
--------------------------------- | ||
|
||
POE::Component::Client::UserAgent is Copyright 2001 Kirill Shuykin | ||
Author's contact: http://www.en-directo.net/mail/kirill.html | ||
|
||
This library is free software; you can redistribute it | ||
and/or modify it under the same terms as Perl itself. | ||
|
||
Abstract | ||
-------- | ||
|
||
POE::Component::Client::UserAgent is an asynchronous, event driven | ||
LWP and LWP::Parallel based user agent POE component. It lets other | ||
tasks run while making a request to an Internet server and waiting | ||
for a response, and it lets several requests run in parallel. | ||
|
||
Requirements | ||
------------ | ||
|
||
This module requires POE, LWP and LWP::Parallel. Version 0.03 of the | ||
component requires POE version 0.1402 and LWP::Parallel version 2.51, | ||
which in turn requires LWP version 2.52 or later. | ||
|
||
Availability | ||
------------ | ||
|
||
The most recent POE::Component::Client::UserAgent distribution | ||
is available on the web at http://www.en-directo.net/poe/ | ||
|
||
I am also planning to upload it to the CPAN. | ||
|
||
The most recent version of the component documentation is available | ||
at http://www.en-directo.net/poe/useragent.html | ||
|
||
Installation | ||
------------ | ||
|
||
This module has not yet been posted on CPAN, so manual installation | ||
is the only option so far. | ||
|
||
Create a makefile: | ||
|
||
perl Makefile.PL | ||
|
||
Optionally run test scripts: | ||
|
||
make test | ||
|
||
Install the module: | ||
|
||
make install | ||
|
||
You can also extract the archive manually. The component is written | ||
entirely in Perl and requires no compilation. | ||
|
||
Usage | ||
----- | ||
|
||
An example of usage is found in the built in documentation, as well | ||
as on the manual page on the web, see Availability. | ||
|
||
Test scripts are also good examples of the component usage. | ||
|
||
See Also | ||
-------- | ||
|
||
POE | ||
http://poe.perl.org/ | ||
|
||
LWP | ||
http://www.linpro.no/lwp/ | ||
|
||
LWP::Parallel | ||
http://www.inf.ethz.ch/~langhein/ParallelUA/ |
Oops, something went wrong.