imm- Retrieve RSS/Atom feeds and write one mail per new item in a maildir.

Safe HaskellSafe-Infered




getRaw :: (MonadIO m, MonadError ImmError m) => URI -> m ByteStringSource

Perform an HTTP GET request and return the response body as raw ByteString

withManager' :: (MonadIO m, MonadError ImmError m) => (Manager -> ResourceT IO b) -> m bSource

Monad-agnostic version of withManager

parseURL :: forall m m'. (MonadIO m, MonadError ImmError m) => String -> m (Request m')Source

Monad-agnostic version of parseUrl

request :: (MonadError ImmError m, MonadIO m) => String -> m (Request a)Source

Build an HTTP request for given URI