Liking cljdoc? Tell your friends :D

io.pedestal.http.route.definition

Constants and utilities used when implementing a routing specification, routing definition, or router.

Constants and utilities used when implementing a routing specification, routing definition,
or router.
raw docstring

allowed-keysclj

source

capture-constraintclj

(capture-constraint [k v])

Add parenthesis to a regex in order to capture its value during evaluation.

Add parenthesis to a regex in order to capture its value during evaluation.
sourceraw docstring

prioritize-constraintsclj

(prioritize-constraints routing-table)

Sort a flat routing table of entries to guarantee that the most constrained route entries appear in the table prior to entries which have fewer constraints or no constraints.

Sort a flat routing table of entries to guarantee that the most
constrained route entries appear in the table prior to entries which
have fewer constraints or no constraints.
sourceraw docstring

schemesclj

source

sort-by-constraintsclj

(sort-by-constraints groupings route-path)

Sort the grouping of route entries which all correspond to route-path from groupings such that the most constrained route table entries appear first and the least constrained appear last.

Sort the grouping of route entries which all correspond to
`route-path` from `groupings` such that the most constrained route
table entries appear first and the least constrained appear last.
sourceraw docstring

symbol->keywordclj

(symbol->keyword s)
source

verify-unique-route-namesclj

(verify-unique-route-names routing-table)
source

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

× close