Liking cljdoc? Tell your friends :D

noir.server.handler

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

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

add-custom-middlewareclj

(add-custom-middleware func & args)

Add a middleware function to all noir handlers.

Add a middleware function to all noir handlers.
sourceraw docstring

add-route-middlewareclj

(add-route-middleware rts)
source

all-wrappersclj

(all-wrappers)
source

base-handlerclj

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

middlewareclj

source

try-wrapclj

(try-wrap ws route)
source

wrap-noir-middlewareclj

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

wrap-routeclj

(wrap-route url func & params)
source

wrap-spec-routesclj

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

wrappersclj

source

wrappers->fnclj

(wrappers->fn wrapped)
source

wrappers-forclj

(wrappers-for & urls)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close