View on
MetaCPAN
Olaf Alders > WebService-Reddit-0.000003 > WebService::Reddit::Response

Download:
WebService-Reddit-0.000003.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.000003   Source  

NAME ^

WebService::Reddit::Response - Thin wrapper around HTTP::Response objects

VERSION ^

version 0.000003

CONSTRUCTOR ARGUMENTS ^

raw

An HTTP::Response object.

METHODS ^

content

This is the parsed JSON body of the response. Generally this will be a HashRef.

raw

Returns the raw HTTP::Response object.

success

Returns true if the Reddit API returns a 2xx code and the X-Died header has not been set..

AUTHOR ^

Olaf Alders <olaf@wundercounter.com>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2017 by Olaf Alders.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: