Copyright | (c) Justin Le 2019 |
---|---|
License | BSD3 |
Maintainer | [email protected] |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Servant.CLI.ParseBody
Description
Provides the interface for ParseBody
, a helper class for defining
directly how to parse request bodies.
Documentation
class ParseBody a where Source #
A helper class for defining directly how to parse request bodies. This allows more complex parsing of bodies.
You need an instance of this for every type you use with
ReqBody
.
Minimal complete definition
Nothing
Methods