Liking cljdoc? Tell your friends :D

liberator.mixin.context.core

Liberator mixins to add attributes to the context map for all requests.

Liberator mixins to add attributes to the context map for all requests.
raw docstring

with-attribute-in-contextclj

(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.
sourceraw docstring

with-attributes-in-contextclj

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close