Handler generation functions used by noir.server and other ring handler libraries.
Handler generation functions used by noir.server and other ring handler libraries.
(add-custom-middleware func & args)
Add a middleware function to all noir handlers.
Add a middleware function to all noir handlers.
(base-handler & [opts])
Get the most basic Noir request handler, only adding wrap-custom-middleware and wrap-request-map.
Get the most basic Noir request handler, only adding wrap-custom-middleware and wrap-request-map.
(wrap-noir-middleware handler opts)
Wrap a base handler in all of noir's middleware
Wrap a base handler in all of noir's middleware
(wrap-spec-routes handler opts)
Wrap a handler in noir's resource and catch-all routes.
Wrap a handler in noir's resource and catch-all routes.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close