GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Role::REST::Client::Response(3) User Contributed Perl Documentation Role::REST::Client::Response(3)

Role::REST::Client::Response

version 0.18

    my $res = Role::REST::Client::Response->new(
        code          => '200',
        response      => HTTP::Response->new(...),
        error         => 0,
        data_callback => sub { sub { ... } },
    );

Role::REST::Client::Response - Response class for REST

HTTP status code of the request

HTTP::Response object. Use this if you need more information than status and content.

The 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".

True if the request didn't succeed.

The deserialized data. Returns an empty hashref if the response was unsuccessful.

Please 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.

Kaare Rasmussen <kaare at cpan dot net>

This 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.

2014-06-26 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.