(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.
(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.
(start-server context)
(start-server context starter-fn)
(start-server context starter-fn stopper-inducer)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close