HTTP router and middleware setup
HTTP router and middleware setup
(component {:keys [routes request-filters session-store]})(fixed-routes)(muuntaja-instance)Muuntaja instance used for request and response coercion
Muuntaja instance used for request and response coercion
(reitit-compile-fn [path data] opts)Wrap reitit's default compile-fn so we can hook into this to transform routes
Wrap reitit's default compile-fn so we can hook into this to transform routes
(wrap-404 h)(wrap-log-request h)(wrap-request-filter handler rf)Helper middleware to apply a function to requests, before they go to the
handler. Used to inject additional things into the request map, like :db
Helper middleware to apply a function to requests, before they go to the handler. Used to inject additional things into the request map, like `:db`
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 |