(linearize-middleware-stack middleware-vars)Given a list of middleware vars, sort them topologically, so that least dependent middleware come FIRST and ones dependent on come LAST. The returned order lends itself to being composed as-is into the final handler.
Given a list of middleware vars, sort them topologically, so that least dependent middleware come FIRST and ones dependent on come LAST. The returned order lends itself to being composed as-is into the final handler.
(set-descriptor! middleware-var descriptor)Sets the given [descriptor] map as the ::descriptor metadata on the
provided [middleware-var], after assoc'ing in the var's fully-qualified name
as the descriptor's "implemented-by" value. The value of :session-dynvars
should be a set of dynamic variables that the middleware expects to be made
rebindable for each new session.
Sets the given [descriptor] map as the ::descriptor metadata on the provided [middleware-var], after assoc'ing in the var's fully-qualified name as the descriptor's "implemented-by" value. The value of `:session-dynvars` should be a set of dynamic variables that the middleware expects to be made rebindable for each new session.
(wrap-describe h middleware)Special middleware that accepts the list of all other middleware (except self)
and handles describe op.
Special middleware that accepts the list of all other middleware (except self) and handles `describe` op.
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 |