(wrap-edn-params handler)
(wrap-edn-params handler opts)
If the request has the edn content-type, it will attempt to read the body as edn and then assoc it to the request under :edn-params and merged to :params.
It may take an opts map to pass to clojure.edn/read-string
If the request has the edn content-type, it will attempt to read the body as edn and then assoc it to the request under :edn-params and merged to :params. It may take an opts map to pass to clojure.edn/read-string
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close