Safe Haskell | None |
---|---|
Language | Haskell2010 |
Types for possible backends to run client-side Request
queries
Documentation
class Monad m => RunClient m where Source #
runRequest :: Request -> m Response Source #
How to make a request.
streamingRequest :: Request -> m StreamingResponse Source #
throwServantError :: ServantError -> m a Source #
catchServantError :: m a -> (ServantError -> m a) -> m a Source #