AnyEvent-YACurl

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

    - bump curl to 7.65.3
    - bump nghttp2 to 1.39.1
    - support all future curl options that take string lists
    - support CURLOPT_DEBUGFUNCTION
    - support CURLOPT_STDERR

0.09  Thu May 23 2019
    - bump curl to 7.65.0

0.08  Tue Apr 30 2019
    - CURLOPT_MIMEPOST: support file upload
    - bump nghttp2 to 1.38.0

0.07  Mon Apr 08 2019
    - bump curl to 7.64.1

0.06  Wed Feb 06 2019
    - bump curl to 7.64.0
    - bump nghttp2 to 1.36.0
    - add libbrotli for brotli support

lib/AnyEvent/YACurl.pm  view on Meta::CPAN


(See L<curl documentation|https://curl.haxx.se/libcurl/c/CURLOPT_HEADERFUNCTION.html>)

Callback that receives header data. This will be called with one argument, C<data>, containing
the received data.

=item CURLOPT_READFUNCTION

(See L<curl documentation|https://curl.haxx.se/libcurl/c/CURLOPT_READFUNCTION.html>)

Read callback for data uploads. This will be called with one argument, C<length>, indicating
the maximum size of data to be read. The callback should either return a scalar with the data, an
empty string to indicate the end of the transfer, or C<undef> to abort the transfer.

    CURLOPT_READFUNCTION => sub {
        my $length= shift;
        return substr($my_data, 0, $length, '');
    },

=item CURLOPT_DEBUGFUNCTION



( run in 1.368 second using v1.01-cache-2.11-cpan-b16cb0d3907 )