Liking cljdoc? Tell your friends :D

co.gaiwan.oak.system.router

HTTP router and middleware setup

HTTP router and middleware setup
raw docstring

componentclj

(component {:keys [routes request-filters session-store]})

fixed-routesclj

(fixed-routes)

malli-coercion-optionsclj


muuntaja-instanceclj

(muuntaja-instance)

Muuntaja instance used for request and response coercion

Muuntaja instance used for request and response coercion
raw docstring

reitit-compile-fnclj

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

wrap-404clj

(wrap-404 h)

wrap-log-requestclj

(wrap-log-request h)

wrap-request-filterclj

(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`
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