servant-client-0.4.0: automatical derivation of querying functions for servant webservices

Safe HaskellNone
LanguageHaskell2010

Servant.Common.Req

Contents

Synopsis

Documentation

data Req Source

Constructors

Req 

appendToQueryString Source

Arguments

:: Text

param name

-> Maybe Text

param value

-> Req 
-> Req 

addHeader :: ToText a => String -> a -> Req -> Req Source

performing requests

performRequestCT :: MimeUnrender ct result => Proxy ct -> Method -> Req -> [Int] -> BaseUrl -> EitherT ServantError IO ([Header], result) Source