imm-1.10.0.0: Execute arbitrary callbacks for each element of RSS/Atom feeds

Safe HaskellNone
LanguageHaskell2010

Imm.HTTP

Contents

Description

HTTP module abstracts over HTTP requests to the external world.

This module follows the Handle pattern.

import qualified Imm.HTTP as HTTP
Synopsis

Types

newtype Handle m Source #

Handle to perform GET HTTP requests.

Constructors

Handle 

Fields

Primitives

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

Simple wrapper around _withGet that also logs the requested URI.