Crate roux_stream
source ·Expand description
A streaming API for the roux
Reddit client.
Reddit’s API does not provide “firehose”-style streaming of new posts and comments. Instead, the endpoints for retrieving the latest posts and comments have to be polled regularly. This crate automates that task and provides streams for a subreddit’s posts (submissions) and comments.
See stream_submissions
and stream_comments
for
details.
Logging
This module uses the logging infrastructure provided by the log
crate.
Enums
- Error that occurs when pulling new data from Reddit failed.
Functions
- Stream new comments in a subreddit.
- Stream new submissions in a subreddit.