Liking cljdoc? Tell your friends :D
Clojure only.

s-exp.legba.router

Routing of ring requests to handlers by method and OpenAPI path template

Routing of ring requests to handlers by method and OpenAPI path template
raw docstring

matchclj


routerclj

(router handlers & {:as _opts :keys [extra-routes] :or {extra-routes {}}})

Creates a router that matches by method/path for a given schema. extra-routes can be passed to add non openapi centric routes to the routing table

Creates a router that matches by method/path for a given `schema`.
`extra-routes` can be passed to add non openapi centric routes to the routing
table
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close