monad-http-0.1.0.0: A class of monads which can do http requests

Copyright(C) 2015 Futurice Oy
LicenseBSD-3-Clause
MaintainerOleg Grenrus <oleg.grenrus@iki.fi>
Safe HaskellNone
LanguageHaskell2010

Control.Monad.Trans.Http

Description

 

Synopsis

Documentation

newtype HttpT m a Source

Http monad transformer, essentially ReaderT Manager.

Constructors

HttpT 

Fields

runHttpT :: Manager -> m a
 

evalHttpT :: MonadIO m => HttpT m a -> m a Source

Lower HttpT with default Manager created with tlsManagerSettings.

mapHttpT :: (m a -> m b) -> HttpT m a -> HttpT m b Source

liftHttpT :: m a -> HttpT m a Source