DOKK / manpages / debian 11 / libwww-curl-simple-perl / WWW::Curl::Simple::Request.3pm.en
WWW::Curl::Simple::Request(3pm) User Contributed Perl Documentation WWW::Curl::Simple::Request(3pm)

WWW::Curl::Simple::Request - A small class representing request/response

version 0.100191

Just a way to collect things used by both single and multi, and some WWW::Curl setup. You shouldn't need to use this class anywhere, although "$curl->perform" returns objects of this class.

A String that will be sent as the user-agent string. Defaults to "WWW::Curl::Simple/" plus the current version number.

The body of the response.

The head of the response.

The HTTP::Request object used to create this response.

The WWW::Curl::Simple instance that generated this request.

The WWW::Curl::Easy object which created this response.

Performs the actual request through WWW::Curl::Easy. Used mostly in single request land. Will croak on errors.

Returns a HTTP::Response that represents the response of this object.

Also sets request on the response object to the original request object.

Andreas Marienborg <andremar@cpan.org>

This software is copyright (c) 2013 by Andreas Marienborg.

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

2020-10-04 perl v5.30.3