Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- path :: Text -> GenericApplication r -> GenericApplication r
- pathSegment :: Text -> GenericApplication r -> GenericApplication r
- pathVar :: FromUri a => (a -> GenericApplication r) -> GenericApplication r
- pathEnd :: GenericApplication r -> GenericApplication r
Documentation
path :: Text -> GenericApplication r -> GenericApplication r Source #
Match the remaining path
pathSegment :: Text -> GenericApplication r -> GenericApplication r Source #
Match the next path segment and remove from the request
pathVar :: FromUri a => (a -> GenericApplication r) -> GenericApplication r Source #
Use the next path segment as a variable and remove from the request
pathEnd :: GenericApplication r -> GenericApplication r Source #
Match if all the path has been consumed or the remaining is a trailing slash