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 #
Instances
ClientF ~ f => RunClient (Free f) Source # | |
Defined in Servant.Client.Core.Internal.RunClient runRequest :: Request -> Free f Response Source # streamingRequest :: Request -> Free f StreamingResponse Source # throwServantError :: ServantError -> Free f a Source # |