Liking cljdoc? Tell your friends :D

cemerick.url


map->queryclj/s

(map->query m)
source

query->mapclj/s

(query->map qstr)
source

split-paramclj/s

(split-param param)
source

translate-defaultcljs

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

URLcljs

source

urlclj/s

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

url-decodeclj/s≠

clj
(url-decode string)
(url-decode string encoding)
cljs
(url-decode string)
source (clj)source (cljs)

url-encodeclj/s

(url-encode string)
source (clj)source (cljs)

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

× close