free-http 0.1.1.2 → 0.1.1.3
raw patch · 2 files changed
+1/−9 lines, 2 files
Files
free-http.cabal view
@@ -1,6 +1,6 @@ name: free-http -version: 0.1.1.2+version: 0.1.1.3 synopsis: An HTTP Client based on Free Monads.
src/Network/HTTP/Client/Free/HttpClient.hs view
@@ -35,9 +35,7 @@ -- | Peel a layer of the 'HttpF' functor and run an http request with the data -- provided. iterTHttp :: ( Request ~ RequestType client- -- ^ The foundational request must be of type 'Request' , Response ByteString ~ ResponseType client- -- ^ The foundational response must be of type 'Response ByteString' , Monad m , MonadIO m )@@ -51,9 +49,7 @@ -- | Peel a layer of the 'HttpF' functor and run an http request with the data. -- the base monad for this action is 't m'. iterTMHttp :: ( Request ~ RequestType client- -- ^ The foundational request must be of type 'Request' , Response ByteString ~ ResponseType client- -- ^ The foundational response must be of type 'Response ByteString' , Monad m , MonadTrans t , Monad (t m)@@ -69,9 +65,7 @@ -- | The main http-client interpreter. The client is free to specify the base -- effect monad so long as there is an instance of 'MonadIO' for it in scope. runHttp :: ( Request ~ RequestType client- -- ^ The foundational request must be of type 'Request' , Response ByteString ~ ResponseType client- -- ^ The foundational response must be of type 'Response ByteString' , Monad m , MonadIO m )@@ -85,9 +79,7 @@ -- effect monad ('m'), and in thise case this the result can be lifted into a -- higher monad transformer stack ('t') runTHttp :: ( Request ~ RequestType client- -- ^ The foundational request must be of type 'Request' , Response ByteString ~ ResponseType client- -- ^ The foundational response must be of type 'Response ByteString' , Monad m , MonadIO m , MonadTrans t