Reed.ReqPlugin (reed v0.1.0)
This will stream the RSS feed over the network and apply the transformation to each item lazily.
This will store the result into the Req.Response
struct under the :rss
key in the :private
field.
This is streamed chunk-by-chunk, meaning you can stop reading the RSS feed at any point, and
you only store in memory what you decide to using the :transform
option.
You can get the result using Req.Response.get_private(response, :rss)
.
Options
:transform
- The transformation function / pipeline to apply to each item in the RSS feed. Checkthe documentation for `Reed` for more information.
Summary
Functions
Attaches Reed.ReqPlugin
to the given Req.Request
struct.
Functions
Link to this function
attach(request, options \\ [])
Attaches Reed.ReqPlugin
to the given Req.Request
struct.
Link to this function