servant-client-core-0.15: Core functionality and class for client function generation for servant APIs

Safe HaskellNone
LanguageHaskell2010

Servant.Client.Core.Internal.RunClient

Description

Types for possible backends to run client-side Request queries

Documentation

class Monad m => RunClient m where Source #

Methods

runRequest :: Request -> m Response Source #

How to make a request.

throwServantError :: ServantError -> m a Source #

decodedAs :: forall ct a m. (MimeUnrender ct a, RunClient m) => Response -> Proxy ct -> m a Source #