AnyEvent-Curl-Multi
view release on metacpan or search on metacpan
lib/AnyEvent/Curl/Multi.pm view on Meta::CPAN
C<max_concurrency>, e.g.:
my $client = AnyEvent::Curl::Multi->new(max_concurrency => 10);
You can also set the maximum concurrency after the client has been created:
$client->max_concurrency(10);
A value of 0 means no limit will be imposed.
You can also set global default behaviors for requests:
=over
=item timeout => PERIOD
Specifies a timeout for each request. If your WWW::Curl is linked against
libcurl 7.16.2 or later, this value can be specified in fractional seconds (ms
resolution). Otherwise, the value must be specified in whole seconds.
=item proxy => HOST[:PORT]
( run in 0.484 second using v1.01-cache-2.11-cpan-49f99fa48dc )