Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
The primary Free Monad wrapping HTTP actions.
- type family RequestType client :: *
- type family ResponseType client :: *
- data HttpF client a = HttpF StdMethod (RequestType client) (ResponseType client -> a)
- type FreeHttp client m a = FT (HttpF client) m a
Type Familes
type family RequestType client :: * Source
type family to represent the request type foundation
type RequestType HttpClient = Request Source | HttpClient expects |
type family ResponseType client :: * Source
type family to represent the response type foundation
The base functor of our library
Our functor from which the free-http free monad is generated from.
HttpF StdMethod (RequestType client) (ResponseType client -> a) |