(decode-query-params query-string)
Extract a map of query parameters from a query string.
Extract a map of query parameters from a query string.
(defroute route destruct & body)
Add a route to the dispatcher.
Add a route to the dispatcher.
(dispatch! uri)
Dispatch an action for a given route if it matches the URI path.
Dispatch an action for a given route if it matches the URI path.
(encode-query-params query-params)
Convert a map of query parameters into url encoded string.
Convert a map of query parameters into url encoded string.
(encode-uri uri)
Like js/encodeURIComponent excepts ignore slashes.
Like js/encodeURIComponent excepts ignore slashes.
(get-config path)
Gets a value for config at path.
Gets a value for *config* at path.
(locate-route-value uri)
Returns original route value as set in defroute when passed a URI path.
Returns original route value as set in defroute when passed a URI path.
(set-config! path val)
Associates a value val for config at path.
Associates a value val for *config* at path.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close