imm-2.1.3.0: Execute arbitrary actions for each item from RSS/Atom feeds
Safe HaskellSafe-Inferred
LanguageHaskell2010

Imm.HTTP

Description

HTTP module abstracts over HTTP requests to the external world.

This module follows the Handle pattern.

import qualified Imm.HTTP as HTTP
Synopsis

Documentation

newtype Handle m Source #

Handle to perform GET HTTP requests.

Constructors

Handle 

Fields

withGet :: Monad m => Handle m -> Handle m -> URI -> (Response (Producer ByteString m ()) -> m a) -> m a Source #

Simple wrapper around _withGet that also logs the requested URI.