Module orca::net[][src]

Functionality for communication with reddit.com The module contains networking, http, ratelimiting, authorization and more functionality.

Most use cases of this library will not require anything directly present in this module explicitly, but be sure to read the documentation in the auth module for any script that wants to authorize itself on reddit.

Modules

auth

Contains all functionality for OAuth and logins

Structs

Connection

A connection holder to reddit. Holds authorization info if provided, and is in charge of ratelimiting.

Enums

LimitMethod

How to ratelimit

Functions

body_from_map

Creates a HTTP/hyper Body from a hashmap, in urlencoded form.

uri_params_from_map

Creates a url with encoded parameters from hashmap. Right now it's kinda hacky