noir.server.handler documentation

Handler generation functions used by noir.server and other ring handler libraries.

add-custom-middleware

(add-custom-middleware func & args)
Add a middleware function to all noir handlers.

base-handler

(base-handler & [opts])
Get the most basic Noir request handler, only adding wrap-custom-middleware and wrap-request-map.

wrap-noir-middleware

(wrap-noir-middleware handler opts)
Wrap a base handler in all of noir's middleware

wrap-spec-routes

(wrap-spec-routes handler opts)
Wrap a handler in noir's resource and catch-all routes.