Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype AppMiddleware = AppMiddleware {}
- simpleAppMiddleware :: HasCallStack => (Bool, Text) -> Key a -> a -> AppMiddleware
- simpleWebMiddleware :: HasCallStack => (Bool, Text) -> Middleware -> AppMiddleware
- runMiddleware :: MonadIO m => AppMiddleware -> App a -> m ()
Documentation
newtype AppMiddleware Source #
Application Middleware
Instances
Semigroup AppMiddleware Source # | |
Defined in Yam.Middleware (<>) :: AppMiddleware -> AppMiddleware -> AppMiddleware # sconcat :: NonEmpty AppMiddleware -> AppMiddleware # stimes :: Integral b => b -> AppMiddleware -> AppMiddleware # | |
Monoid AppMiddleware Source # | |
Defined in Yam.Middleware mempty :: AppMiddleware # mappend :: AppMiddleware -> AppMiddleware -> AppMiddleware # mconcat :: [AppMiddleware] -> AppMiddleware # |
simpleAppMiddleware :: HasCallStack => (Bool, Text) -> Key a -> a -> AppMiddleware Source #
Simple AppMiddleware
simpleWebMiddleware :: HasCallStack => (Bool, Text) -> Middleware -> AppMiddleware Source #
runMiddleware :: MonadIO m => AppMiddleware -> App a -> m () Source #