套件: libhttp-async-perl (0.33-1)
libhttp-async-perl 的相關超連結
Trisquel 的資源:
下載原始碼套件 libhttp-async-perl:
- [libhttp-async-perl_0.33-1.dsc]
- [libhttp-async-perl_0.33.orig.tar.gz]
- [libhttp-async-perl_0.33-1.debian.tar.xz]
維護者:
Original Maintainers:
- Debian Perl Group (郵件存檔)
- Ernesto Hernández-Novich (USB)
- Florian Schlichting
- Daniel Lintott
外部的資源:
- 主頁 [metacpan.org]
相似套件:
module for parallel non-blocking processing of multiple HTTP requests
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.
其他與 libhttp-async-perl 有關的套件
|
|
|
-
- dep: liburi-perl
- module to manipulate and access URI strings
-
- dep: libwww-perl
- simple and consistent interface to the world-wide web
-
- dep: perl
- Larry Wall's Practical Extraction and Report Language
-
- sug: libnet-https-nb-perl
- low-level non-blocking HTTPS client