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.
Jeff Ober mailto:email@example.com