Liking cljdoc? Tell your friends :D

bract.ring.inducer


apply-middlewaresclj

(apply-middlewares context middlewares)

Given a context with a Ring handler under context key :bract.ring/ring-handler apply the Ring middleware i.e. a seq of (fn [handler & args]) -> handler, finally updating the context with the wrapped handler.

Given a context with a Ring handler under context key :bract.ring/ring-handler apply the Ring middleware i.e.
a seq of `(fn [handler & args]) -> handler`, finally updating the context with the wrapped handler.
sourceraw docstring

apply-wrappersclj

(apply-wrappers context wrappers)

Given a context with a Ring handler under context key :bract.ring/ring-handler apply the Ring handler wrappers i.e. a seq of (fn [handler context]) -> handler, finally updating the context with the wrapped handler.

Given a context with a Ring handler under context key :bract.ring/ring-handler apply the Ring handler wrappers i.e.
a seq of `(fn [handler context]) -> handler`, finally updating the context with the wrapped handler.
sourceraw docstring

start-serverclj

(start-server context)
(start-server context starter-fn)
(start-server context starter-fn stopper-inducer)
source

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

× close