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§
- Stream
Error - Error that occurs when pulling new data from Reddit failed.
Functions§
- stream_
comments - Stream new comments in a subreddit.
- stream_
submissions - Stream new submissions in a subreddit.