Liking cljdoc? Tell your friends :D
ClojureScript only.

dogfort.middleware.edn


wrap-edn-paramscljs

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

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

× close