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.
(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.
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |