![]() |
![]()
| ![]() |
![]()
NAMERole::REST::Client::Response VERSIONversion 0.18 SYNOPSISmy $res = Role::REST::Client::Response->new( code => '200', response => HTTP::Response->new(...), error => 0, data_callback => sub { sub { ... } }, ); NAMERole::REST::Client::Response - Response class for REST ATTRIBUTEScodeHTTP status code of the request responseHTTP::Response object. Use this if you need more information than status and content. errorThe error description returned from the user agent when the HTTP status code is 500 or higher. More detail may be found by calling "$res->response->content". failedTrue if the request didn't succeed. dataThe deserialized data. Returns an empty hashref if the response was unsuccessful. BUGSPlease report any bugs or feature requests to bug-role-rest-client at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Role-REST-Client. AUTHORKaare Rasmussen <kaare at cpan dot net> COPYRIGHT AND LICENSEThis software is copyright (c) 2014 by Kaare Rasmussen. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|