Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data RoutingReq Source #
class HasCaptures a where Source #
captures :: a -> [(ByteString, ByteString)] Source #
fromReq :: [(ByteString, ByteString)] -> Req -> RoutingReq Source #
lookupCapture :: HasCaptures r => ByteString -> r -> [ByteString] Source #