Module orca::net

source ·
Expand description

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

Contains all functionality for OAuth and logins

Structs

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

Enums

How to ratelimit

Functions

Creates a HTTP/hyper Body from a hashmap, in urlencoded form.
Creates a url with encoded parameters from hashmap. Right now it’s kinda hacky