Liking cljdoc? Tell your friends :D

io.pedestal.http.route.map-tree


matching-route-mapclj

(matching-route-map routes)

Given the full sequence of route-maps, return a single map, keyed by path, whose value is a function matching on the req. The function takes a request, matches criteria and constraints, and returns the most specific match. This function only processes the routes if all routes are static.

Given the full sequence of route-maps,
return a single map, keyed by path, whose value is a function matching on the req.
The function takes a request, matches criteria and constraints, and returns
the most specific match.
This function only processes the routes if all routes are static.
sourceraw docstring

routerclj

(router routes)

Given a sequence of routes, return a router which satisfies the io.pedestal.http.route.router/Router protocol.

Given a sequence of routes, return a router which satisfies the
io.pedestal.http.route.router/Router protocol.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close