Liking cljdoc? Tell your friends :D
Clojure only.

dev.zeko.stube.routes

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.
raw docstring

ring-handlerclj

(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.
sourceraw 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