servant-client-0.2

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 

performing requests

decodeLenient :: FromJSON a => ByteString -> Either String a Source

Like decode but allows all JSON values instead of just objects and arrays.