Router utilities for HTTP request handling using matching on path/method.
Provides functions for building and matching routes that follow the openapi path format.
Exposes:
Router utilities for HTTP request handling using matching on path/method. Provides functions for building and matching routes that follow the openapi path format. Exposes: - router: Builds a router from a set of routes. - match: Attempts to match a router against a Ring-style request.
(match matcher request)Given matcher attempts to match against ring request, return match (tuple of
data & path-params)
Given `matcher` attempts to match against ring request, return match (tuple of `data` & `path-params`)
(router routes)Given set of routes, builds router
Given set of routes, builds router
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 |