imm-1.3.0.0: Execute arbitrary actions for each unread element of RSS/Atom feeds

Safe HaskellNone
LanguageHaskell98

Imm.HTTP

Contents

Description

HTTP module abstracts over HTTP requests to the external world.

Synopsis

Types

class MonadThrow m => MonadHttpClient m where Source #

Monad capable of performing GET HTTP requests.

Minimal complete definition

httpGet

Methods

httpGet :: URI -> m LByteString Source #

Instances

(MonadThrow m, MonadHttpClient (ReaderT * a m)) => MonadHttpClient (ReaderT * (Modules a b c d e) m) Source # 

Methods

httpGet :: URI -> ReaderT * (Modules a b c d e) m LByteString Source #

Primitives

get :: (MonadHttpClient m, MonadLog m, MonadThrow m) => URI -> m LByteString Source #

Simple wrapper around httpGet that also logs the requested URI.