JMAP::Tester::Role::HTTPResult - the kind of thing that you get back for an http request
version 0.022
This is the role consumed by the class of any object returned by JMAP::Tester's request method. In addition to JMAP::Tester::Role::Result, this role provides http_response to get at the underlying HTTP::Response object. response_payload will come from the as_string method of that object.
request
http_response
response_payload
as_string
Returns the raw payload of the response, if there is one. Empty string otherwise. Mostly this will be $self->http_response->as_string but other result types may exist that don't have an http_response...
$self->http_response->as_string
Ricardo SIGNES <rjbs@cpan.org>
This software is copyright (c) 2016 by FastMail, Ltd.
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 JMAP::Tester, copy and paste the appropriate command in to your terminal.
cpanm
cpanm JMAP::Tester
CPAN shell
perl -MCPAN -e shell install JMAP::Tester
For more information on module installation, please visit the detailed CPAN module installation guide.