hoauth-0.2.3: A Haskell implementation of OAuth 1.0a protocol.Source codeContentsIndex
Network.OAuth.Http.HttpClient
Description
A type class that is able to perform HTTP requests.
Synopsis
class Monad m => HttpClient m where
request :: Request -> m Response
unlift :: m a -> IO a
newtype CurlM a = CurlM {
unCurlM :: IO a
}
Documentation
class Monad m => HttpClient m whereSource
The HttpClient type class.
Methods
request :: Request -> m ResponseSource
Performs the request and returns the response wrapped into a given monad.
unlift :: m a -> IO aSource
Unpacks the monad and returns the inner IO monad.
newtype CurlM a Source
The libcurl backend
Constructors
CurlM
unCurlM :: IO a
Produced by Haddock version 2.6.0