The reitit router.
Conversation-scoped routes are always present; user mounts are appended. The router resolves the user-mount table lazily on each request so adding mounts after start works.
Before this namespace existed, dev.zeko.stube.server built the
router using requiring-resolve to dodge a circular require with
dev.zeko.stube.http. Pulling the build into its own ns lets us
require both layers directly.
The reitit router. Conversation-scoped routes are always present; user mounts are appended. The router resolves the user-mount table lazily on each request so adding mounts after start works. Before this namespace existed, `dev.zeko.stube.server` built the router using `requiring-resolve` to dodge a circular require with `dev.zeko.stube.http`. Pulling the build into its own ns lets us require both layers directly.
(ring-handler)A ring handler that resolves the router on each request so newly added mounts are picked up without restarting the server.
A ring handler that resolves the router on each request so newly added mounts are picked up without restarting the server.
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 |