Inducers provided in the bract.ring module.
Inducers provided in the bract.ring module.
(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)
Given a context with a Ring handler under context key :bract.ring/ring-handler
start a web server (specified as
argument or under the context key :bract.ring/server-starter
) using server options available under context key
:bract.ring/server-options
and config key "bract.ring.server.options"
.
Given a context with a Ring handler under context key `:bract.ring/ring-handler` start a web server (specified as argument or under the context key `:bract.ring/server-starter`) using server options available under context key `:bract.ring/server-options` and config key `"bract.ring.server.options"`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close