Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class Eved api m | api -> m where Source #
(.<|>) :: api a -> api b -> api (a :<|> b) Source #
lit :: Text -> api a -> api a Source #
capture :: Text -> UrlElement a -> api b -> api (a -> b) Source #
reqBody :: NonEmpty (ContentType a) -> api b -> api (a -> b) Source #
queryParam :: Text -> QueryParam a -> api b -> api (a -> b) Source #
verb :: StdMethod -> Status -> NonEmpty (ContentType a) -> api (m a) Source #