www/p5-HTTP-Async 0.33nb10 NetBSD
Lightweight HTTP client implementation
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2 OR artistic
- Categories
- www, perl5
- Package size
- 15.2 KiB, 51.4 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.
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.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | www/p5-HTTP-Async | 0.33nb10 |
| FreeBSD | www/p5-HTTP-Async | 0.33 |
| OpenBSD | www/p5-HTTP-Async | 0.33p0 |
| DragonFly | www/p5-HTTP-Async | 0.33 |
| HardenedBSD | www/p5-HTTP-Async | 0.33 |
| GhostBSD | www/p5-HTTP-Async | 0.33 |
Install
Binary package:
pkgin install p5-HTTP-Async
From pkgsrc:
cd /usr/pkgsrc/www/p5-HTTP-Async && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.33nb10 |
| NetBSD 10.1 aarch64 | 0.33nb9 |
| SmartOS / illumos x86_64 | 0.33nb10 |
| macOS 15 arm64 | 0.33nb10 |
Dependencies
Run dependencies 1
No port depends on this one.