NAME
WWW::Curl::Simple::Request - A small class representing request/response
DESCRIPTION
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
INTERFACE
ATTRIBUTES
agent
A String that will be sent as the user-agent string. Defaults to
METHODS
body
The body of the response
head
The head of the response
request
The HTTP::Request-object that we where created with.
easy
our WWW::Curl::Easy-object
perform
Performs the actuall request trough WWW::Curl::Easy. Used mostly in single request land. Will croak on errors.
response
Returns a HTTP::Response that represents the response of this object.
Also sets request on the response object to the original request object.
COPYRIGHT & LICENSE
Copyright 2009 Andreas Marienborg, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.