catacumba.handlers.parse
body-params
(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.
read-body
(read-body {:keys [method], :as context})
A handler that just reads the body from request and puts it on the context under :body
key.