(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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |