AnyEvent::HTTP::Message - Lightweight objects for AnyEvent::HTTP Request/Response
version 0.302
# don't use this directly
This is a base class for:
AnyEvent::HTTP::Request
AnyEvent::HTTP::Response
The constructor accepts either:
a single hashref of named arguments
an instance of an appropriate subclass of HTTP::Message (with an optional hashref of additional parameters)
or a specialized list of arguments that will be passed to "parse_args" (which must be defined by the subclass).
Called by the constructor when "new" is called with a list of arguments.
Must be customized by subclasses.
Called by the constructor when "new" is called with an instance of a HTTP::Message subclass.
Message content body
Alias for "body"
Message headers (hashref)
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.
You can find documentation for this module with the perldoc command.
perldoc AnyEvent::HTTP::Message
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.
MetaCPAN
A modern, open-source CPAN search engine, useful to view POD in HTML format.
http://metacpan.org/release/AnyEvent-HTTP-Message
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.
bug-anyevent-http-message at rt.cpan.org
https://github.com/rwstauner/AnyEvent-HTTP-Message
git clone https://github.com/rwstauner/AnyEvent-HTTP-Message.git
Randy Stauner <rwstauner@cpan.org>
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.
To install AnyEvent::HTTP::Message, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AnyEvent::HTTP::Message
CPAN shell
perl -MCPAN -e shell install AnyEvent::HTTP::Message
For more information on module installation, please visit the detailed CPAN module installation guide.