Reddit::Client::Request
HTTP request driver for Reddit::Client. Uses LWP to perform GET and POST requests to the reddit.com servers. This module is used internally by the Reddit::Client and is not designed for external use.
Creates a new Reddit::Request::API instance. Parameters:
user_agent User agent string url Target URL query Hash of query parameters post_data Hash of POST parameters cookie Reddit session cookie modhash Reddit session modhash
Builds a URI-escaped query string from a hash of query parameters. This is *not* a method of the class, but a package routine.
Builds an HTTP::Request object for LWP::UserAgent.
Performs the HTTP request and returns the result. Croaks on HTTP error.
mailto:earthtone.rc@gmail.com
BSD license
To install Reddit::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Reddit::Client
CPAN shell
perl -MCPAN -e shell install Reddit::Client
For more information on module installation, please visit the detailed CPAN module installation guide.