servant-client-core-0.19: Core functionality and class for client function generation for servant APIs
Safe Haskell None
Language Haskell2010

Servant.Client.Core.RunClient

Description

Types for possible backends to run client-side Request queries

Synopsis

Documentation

class Monad m => RunClient m where Source #

Methods

runRequestAcceptStatus :: Maybe [ Status ] -> Request -> m Response Source #

How to make a request, with an optional list of status codes to not throw exceptions for (default: [200..299]).

throwClientError :: ClientError -> m a Source #