NAME
AnyEvent::HTTP::Message - Lightweight objects for AnyEvent::HTTP Request/Response
VERSION
version 0.100
SYNOPSIS
# don't use this directly
DESCRIPTION
This is a base class for:
CLASS METHODS
new
The constructor accepts either a single hashref of named arguments, or a specialized list of arguments that will be passed to a the "parse_args" method (which must be defined by the subclass).
parse_args
Called by the constructor when "new" is not called with a single hashref.
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 _
to -
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.
Search CPAN
The default CPAN search engine, useful to view POD in HTML format.
RT: CPAN's Bug Tracker
The RT ( Request Tracker ) website is the default bug/issue tracking system for CPAN.
http://rt.cpan.org/NoAuth/Bugs.html?Dist=AnyEvent-HTTP-Message
CPAN Ratings
The CPAN Ratings is a website that allows community ratings and reviews of Perl modules.
CPAN Testers
The CPAN Testers is a network of smokers who run automated tests on uploaded CPAN distributions.
CPAN Testers Matrix
The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms.
CPAN Testers Dependencies
The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution.
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.