BSD Ports

www/p5-HTTP-Async 0.33 FreeBSD

Process multiple HTTP requests in parallel without blocking

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
www, perl5
Package size
21.1 KiB, 47.9 KiB installed

Description

Although 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.

In the other systems

SystemPortVersion
FreeBSDwww/p5-HTTP-Async0.33
OpenBSDwww/p5-HTTP-Async0.33p0
NetBSDwww/p5-HTTP-Async0.33nb10
DragonFlywww/p5-HTTP-Async0.33

Install

Binary package:

pkg install p5-HTTP-Async

From the ports tree:

cd /usr/ports/www/p5-HTTP-Async/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-HTTP-Async>0:www/p5-HTTP-Async

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.330.330.330.330.33
FreeBSD:14:quarterly0.330.33n/a0.330.33
FreeBSD:15:latest0.330.33n/a0.330.33
FreeBSD:15:quarterly0.330.33n/an/an/a
FreeBSD:16:latest0.330.33n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 4

Runtime 4

Test 4

The full lists below include those, and their dependencies in turn.

Build dependencies 28
Run dependencies 28

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 4
  • %%SITE_PERL%%/HTTP/Async.pm
  • %%SITE_PERL%%/HTTP/Async/Polite.pm
  • %%PERL5_MAN3%%/HTTP::Async.3.gz
  • %%PERL5_MAN3%%/HTTP::Async::Polite.3.gz
distinfo 1
FileSizeSHA256
HTTP-Async-0.33.tar.gz244415edba1562645facc36dde6ab02013b9d0a9593232430ec98165cd72a4d1196d4
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.