Ketchup-0.2.3: A super small web framework for those who don't like big and fancy codebases

Safe HaskellNone

Ketchup.Routing

Synopsis

Documentation

routeSource

Arguments

:: [(ByteString, Route)]

Routes

-> Handler 

Router function Takes a list of routes and iterates through them for every requeust

useHandler :: Handler -> RouteSource

Wrap a handler in a route Lets you use a handler (no parameters) as a route