Liking cljdoc? Tell your friends :D

ring.middleware.keyword-params

Middleware that converts parameter keys in the request to keywords.

Middleware that converts parameter keys in the request to keywords.
raw docstring

keyword-params-requestclj

(keyword-params-request request)
(keyword-params-request request options)

Converts string keys in :params map to keywords. See: wrap-keyword-params.

Converts string keys in :params map to keywords. See: wrap-keyword-params.
raw docstring

wrap-keyword-paramsclj

(wrap-keyword-params handler)
(wrap-keyword-params handler options)

Middleware that converts the any string keys in the :params map to keywords. Only keys that can be turned into valid keywords are converted.

This middleware does not alter the maps under :*-params keys. These are left as strings.

Accepts the following options:

:parse-namespaces? - if true, parse the parameters into namespaced keywords (defaults to false)

Middleware that converts the any string keys in the :params map to keywords.
Only keys that can be turned into valid keywords are converted.

This middleware does not alter the maps under :*-params keys. These are left
as strings.

Accepts the following options:

:parse-namespaces? - if true, parse the parameters into namespaced keywords
                     (defaults to false)
raw docstring

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

× close