The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

AnyEvent::Net::Curl::Queued::Multi - Net::Curl::Multi wrapped by Any::Moose

VERSION

version 0.017

SYNOPSIS

    use AnyEvent::Net::Curl::Queued::Multi;

    my $multi = AnyEvent::Net::Curl::Queued::Multi->new({
        max     => 10,
        timeout => 30,
    });

DESCRIPTION

This module extends the Net::Curl::Multi class through MooseX::NonMoose and adds AnyEvent handlers.

ATTRIBUTES

active

Currently active sockets.

pool

Sockets pool.

timer

AnyEvent timer() handler.

max

Maximum parallel connections limit (default: 4).

timeout

Timeout threshold, in seconds (default: 10).

METHODS

socket_action(...)

Wrapper around the socket_action() from Net::Curl::Multi.

add_handle(...)

Overrides the add_handle() from Net::Curl::Multi. Add one handle and kickstart download.

SEE ALSO

AUTHOR

Stanislaw Pusep <stas@sysd.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Stanislaw Pusep.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.