Configuration functions for the ring.middleware.defaults namespace.
NOTE: The ring/ring-defaults package should be added in project dependencies explicitly.
Configuration functions for the [ring.middleware.defaults][1] namespace. NOTE: The [ring/ring-defaults][1] package should be added in project dependencies explicitly. [1]: https://clojars.org/ring/ring-defaults
(config {:keys [proxy security responses static cookies params session]})
Converts ring-defaults configuration to the wrap config sequence to be
used in handler/wrap
function. The returned sequence can be manipulated
before further usage.
Converts [ring-defaults][1] configuration to the wrap config sequence to be used in `handler/wrap` function. The returned sequence can be manipulated before further usage. [1]: https://clojars.org/ring/ring-defaults
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close