Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module is mainly intended to be used for rare occassions. Nero.Request and Nero.Payload should provide everything you need for HTTP parameters.
- data MultiMap
- class Param a where
- param :: Text -> Traversal' a Text
- encodeMultiMap :: MultiMap -> ByteString
Documentation
A Map
with multiple values. Also known as a MultiDict
in most web
frameworks.
A Traversal'
of the values of a given HTTP parameter.
param :: Text -> Traversal' a Text Source