Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
provideOptions :: EvedOptions m a -> Middleware Source #
getOptionsResponse :: EvedOptions m a -> Request -> Response Source #
newtype EvedOptions (m :: * -> *) a Source #
EvedOptions | |
|
Instances
Eved (EvedOptions m) m Source # | |
Defined in Web.Eved.Options (.<|>) :: EvedOptions m a -> EvedOptions m b -> EvedOptions m (a :<|> b) Source # lit :: Text -> EvedOptions m a -> EvedOptions m a Source # capture :: Text -> UrlElement a -> EvedOptions m b -> EvedOptions m (a -> b) Source # reqBody :: NonEmpty (ContentType a) -> EvedOptions m b -> EvedOptions m (a -> b) Source # queryParam :: Text -> QueryParam a -> EvedOptions m b -> EvedOptions m (a -> b) Source # header :: Text -> Header a -> EvedOptions m b -> EvedOptions m (a -> b) Source # verb :: StdMethod -> Status -> NonEmpty (ContentType a) -> EvedOptions m (m a) Source # |
passthrough :: EvedOptions m a -> EvedOptions m b Source #