(body-params)
(body-params {:keys [parsefn attr] :or {parsefn parse-body attr :data}})
A route chain that parses the body into a clojure friendly data structure.
This function optionally accept a used defined method or multimethod where to delegate the body parsing.
A route chain that parses the body into a clojure friendly data structure. This function optionally accept a used defined method or multimethod where to delegate the body parsing.
A polymorophic method for parse body into clojure friendly data structure.
A polymorophic method for parse body into clojure friendly data structure.
(read-body {:keys [method] :as context})
A handler that just reads the body from request and puts
it on the context under :body
key.
A handler that just reads the body from request and puts it on the context under `:body` key.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close