Liking cljdoc? Tell your friends :D

aleph.http.params

Netty-inspired query string parameter handling functions

Netty-inspired query string parameter handling functions
raw docstring

add-paramsclj

(add-params {:keys [query-string] :as request})

Add parsed params to a request at the `:get-params' key. Empty query strings yield an unmodified request map.

The key looked up in the request is :query-string, as defined in https://github.com/ring-clojure/ring/blob/master/SPEC

Add parsed params to a request at the `:get-params' key.
Empty query strings yield an unmodified request map.

The key looked up in the request is `:query-string`, as
defined in https://github.com/ring-clojure/ring/blob/master/SPEC
sourceraw docstring

interceptorclj

An interceptor-style handler for query args.

An interceptor-style handler for query args.
sourceraw docstring

parse-paramsclj

(parse-params input)

Given a query-string yield a map of argument name to value. Multiple occurences of the same argument yield a vector of values.

Given a query-string yield a map of argument name to value.
Multiple occurences of the same argument yield a vector of
values.
sourceraw docstring

wrap-paramsclj

(wrap-params f)

A ring wrapper for parameters.

A ring wrapper for parameters.
sourceraw docstring

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

× close