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
Reddit::Client::Request(3) User Contributed Perl Documentation Reddit::Client::Request(3)

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.

new(%params)
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
    
build_query($query)
Builds a URI-escaped query string from a hash of query parameters. This is *not* a method of the class, but a package routine.
build_request
Builds an HTTP::Request object for LWP::UserAgent.
send
Performs the HTTP request and returns the result. Croaks on HTTP error.

<mailto:earthtone.rc@gmail.com>

BSD license
2021-05-05 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.