Path to this page:
./
www/p5-HTTP-Async,
Lightweight HTTP client implementation
Branch: pkgsrc-2019Q2,
Version: 0.33nb2,
Package name: p5-HTTP-Async-0.33nb2,
Maintainer: pkgsrc-usersAlthough using the conventional LWP::UserAgent is fast and easy it
does have some drawbacks - the code execution blocks until the
request has been completed and it is only possible to process one
request at a time. HTTP::Async attempts to address these limitations.
It gives you a 'Async' object that you can add requests to, and
then get the requests off as they finish. The actual sending and
receiving of the requests is abstracted. As soon as you add a
request it is transmitted, if there are too many requests in progress
at the moment they are queued. There is no concept of starting or
stopping - it runs continuously.
Whilst it is waiting to receive data it returns control to the code
that called it meaning that you can carry out processing whilst
fetching data from the network. All without forking or threading
- it is actually done using select lists.
Required to run:[
lang/perl5]
Required to build:[
pkgtools/cwrappers] [
www/p5-Test-HTTP-Server-Simple]
Master sites: (Expand)
SHA1: 925302725c7dd0f96d30779451997752dd0807c0
RMD160: a75c845ce738f4ec24384baa513c70a44c7b8c05
Filesize: 23.868 KB
Version history: (Expand)
- (2019-07-04) Package added to pkgsrc.se, version p5-HTTP-Async-0.33nb2 (created)