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.
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. 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 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 |