WWW::Curl::Simple::Request(3pm)

WWW::Curl::Simple::Request3pm

A small class representing request/response

Version

version 0.100191

Overview

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.

Attributes

agent

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

body

The body of the response.

head

The head of the response.

request

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

simple_ua

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

easy

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

Methods

perform

Performs the actual request through 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.

Releases

3 releases since Debian 11 (Bullseye); the text changed 1 time.

  1. 11
  2. 12–13

Author

Andreas Marienborg <[email protected]>

From libwww-curl-simple-perl 0.100191-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.