Liking cljdoc? Tell your friends :D

cemerick.url


map->querycljs

(map->query m)

query->mapcljs

(query->map qstr)

split-paramcljs

(split-param param)

translate-defaultcljs

(translate-default s old-default new-default)

URLcljs


urlcljs

(url url)
(url base-url & path-segments)

Returns a new URL record for the given url string(s).

The first argument must be a base url — either a complete url string, or a pre-existing URL record instance that will serve as the basis for the new URL. Any additional arguments must be strings, which are interpreted as relative paths that are successively resolved against the base url's path to construct the final :path in the returned URL record.

This function does not perform any url-encoding. Use url-encode to encode URL path segments as desired before passing them into this fn.

Returns a new URL record for the given url string(s).

The first argument must be a base url — either a complete url string, or
a pre-existing URL record instance that will serve as the basis for the new
URL.  Any additional arguments must be strings, which are interpreted as
relative paths that are successively resolved against the base url's path
to construct the final :path in the returned URL record.

This function does not perform any url-encoding.  Use `url-encode` to encode
URL path segments as desired before passing them into this fn.
raw docstring

url-decodecljs

(url-decode string)

url-encodecljs

(url-encode string)

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

× close