Liking cljdoc? Tell your friends :D

macchiato.middleware


validatecljs

(validate handler-middleware {:keys [id required] :as middleware-meta})

middleware metadata can contain the following keys :id - id of the middleware function :required - a collection of the ids of middleware functions it requires to be present

middleware metadata can contain the following keys
:id - id of the middleware function
:required - a collection of the ids of middleware functions it requires to be present
sourceraw docstring

validate-handlercljs

(validate-handler handler)
source

wrapcljs

(wrap handler middleware-fn)
(wrap handler middleware-fn opts)
source

wrap-middlewarecljs

(wrap-middleware handler & middleware)
source

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

× close