aboutsummaryrefslogtreecommitdiff
path: root/www/p5-ParallelUserAgent/pkg-descr
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-12-31 13:34:16 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-12-31 13:34:16 +0000
commit905f8e58f78043b36c679e966ad404b47e9c953a (patch)
tree558612b6b84e9acb58538c02d7e868fa3fc3fecd /www/p5-ParallelUserAgent/pkg-descr
parent50cfb62e88d8136f6cf7d715739d3606d61c1fa6 (diff)
downloadports-905f8e58f78043b36c679e966ad404b47e9c953a.tar.gz
ports-905f8e58f78043b36c679e966ad404b47e9c953a.zip
Notes
Diffstat (limited to 'www/p5-ParallelUserAgent/pkg-descr')
-rw-r--r--www/p5-ParallelUserAgent/pkg-descr19
1 files changed, 19 insertions, 0 deletions
diff --git a/www/p5-ParallelUserAgent/pkg-descr b/www/p5-ParallelUserAgent/pkg-descr
new file mode 100644
index 000000000000..116044a19abb
--- /dev/null
+++ b/www/p5-ParallelUserAgent/pkg-descr
@@ -0,0 +1,19 @@
+ParallelUserAgent (or PUA for short) is an extension of the existing libwww-5.x
+distribution. It allows you to connect to download several Web pages in
+_parallel_, without having to request each page one after the other.
+
+Instead of retrieving each single page using LWP::UserAgent::request or
+::simple_request methods, you first "register" all pages that you wish to
+download in parallel and then call PUA's "wait" method, which will then make all
+the necessary connections and download the pages.
+
+You can define callback routines which will be called whenever a connection is
+established, is cut off, new data comes in or a request finishes. The
+subroutines can be global for all requests you registered, or different for
+every single request.
+
+Callbacks for example allow you to print status updates as the responses come
+in, or even immediately post follow-up requests based on the responses, all
+within the same single "wait" cycle.
+
+WWW: http://search.cpan.org/dist/ParallelUserAgent/