Liking cljdoc? Tell your friends :D

catacumba.handlers.parse


body-paramsclj

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

parse-bodycljmultimethod

A polymorophic method for parse body into clojure friendly data structure.

A polymorophic method for parse body into clojure
friendly data structure.
sourceraw docstring

read-bodyclj

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

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

× close