Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type Handler m = [(ByteString, ByteString)] -> Request -> m Response
- route :: Monad m => [(ByteString, Handler m)] -> Request -> m Response
Documentation
= [(ByteString, ByteString)] | The captured path parameters. |
-> Request | The matched |
-> m Response |