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.
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 # throwServantError :: ServantError -> Free f a Source # |
class RunClient m => RunStreamingClient m where Source #
withStreamingRequest :: Request -> (StreamingResponse -> IO a) -> m a Source #