Liberator mixins to add attributes to the context map for all requests.
Liberator mixins to add attributes to the context map for all requests.
(with-attribute-in-context key value)
Returns a mixin that adds an attribute with specified value
to the context
map at key
for all requests.ccc
This mixin can be used multiple times for different attributes.
Returns a mixin that adds an attribute with specified `value` to the context map at `key` for all requests.ccc This mixin can be used multiple times for different attributes.
(with-attributes-in-context & {:as attributes})
Returns a mixin that adds all attributes supplied as key / value pairs to the context map for all requests.
This mixin can be used multiple times.
Returns a mixin that adds all attributes supplied as key / value pairs to the context map for all requests. This mixin can be used multiple times.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close