Randy Stauner > AnyEvent-HTTP-Message-0.301 > AnyEvent::HTTP::Message

Download:
AnyEvent-HTTP-Message-0.301.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  2
View/Report Bugs
Module Version: 0.301   Source   Latest Release: AnyEvent-HTTP-Message-0.302

NAME ^

AnyEvent::HTTP::Message - Lightweight objects for AnyEvent::HTTP Request/Response

VERSION ^

version 0.301

SYNOPSIS ^

  # don't use this directly

DESCRIPTION ^

This is a base class for:

CLASS METHODS ^

new

The constructor accepts either:

parse_args

Called by the constructor when "new" is called with a list of arguments.

Must be customized by subclasses.

from_http_message

Called by the constructor when "new" is called with an instance of a HTTP::Message subclass.

Must be customized by subclasses.

ATTRIBUTES ^

body

Message content body

content

Alias for "body"

headers

Message headers (hashref)

METHODS ^

header

  my $ua  = $message->header('User-Agent');
  # same as $message->header->{'user-agent'};

Takes the specified key, converts underscores to dashes and lower-cases it, then returns the value of that message header.

SUPPORT ^

Perldoc

You can find documentation for this module with the perldoc command.

  perldoc AnyEvent::HTTP::Message

Websites

The following websites have more information about this module, and may be of help to you. As always, in addition to those websites please use your favorite search engine to discover more resources.

Bugs / Feature Requests

Please report any bugs or feature requests by email to bug-anyevent-http-message at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=AnyEvent-HTTP-Message. You will be automatically notified of any progress on the request by the system.

Source Code

https://github.com/rwstauner/AnyEvent-HTTP-Message

  git clone https://github.com/rwstauner/AnyEvent-HTTP-Message.git

AUTHOR ^

Randy Stauner <rwstauner@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by Randy Stauner.

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

syntax highlighting: