Back

trie-router (clj)

(source)

function

(trie-router compiled-routes) (trie-router compiled-routes opts)
Creates a special prefix-tree router from resolved routes and optional expanded options. See [[router]] for available options, plus the following: | key | description | | -----------------------------|-------------| | `:reitit.trie/trie-compiler` | Optional trie-compiler. | `:reitit.trie/parameters` | Optional function to create empty map(-like) path parameters value from sequence of keys.

Examples