| Copyright | Allele Dev 2015 |
|---|---|
| License | BSD-3 |
| Maintainer | allele.dev@gmail.com |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Wai.RequestSpec.Internal.Combinators
Description
- header :: (Text -> P a) -> CI Text -> Env -> P a
- headerM :: (Text -> P a) -> CI Text -> Env -> P (Maybe a)
- qParam :: (Text -> P a) -> Text -> Env -> P a
- qParamM :: (Text -> P a) -> Text -> Env -> P (Maybe a)
- fParam :: (Text -> P a) -> Text -> Env -> P a
- fParamM :: (Text -> P a) -> Text -> Env -> P (Maybe a)
- int :: (Read a, Integral a) => Text -> P a
- bool :: Text -> P Bool
- float :: (Read a, Fractional a) => Text -> P a
Documentation
headerM :: (Text -> P a) -> CI Text -> Env -> P (Maybe a) Source #
Optional header, apply a function to it
qParam :: (Text -> P a) -> Text -> Env -> P a Source #
Required query parameter, apply a function to it
qParamM :: (Text -> P a) -> Text -> Env -> P (Maybe a) Source #
Optional query parameter, apply a function to it
fParam :: (Text -> P a) -> Text -> Env -> P a Source #
Required form parameter, apply a function to it