21 Net
21.1 URLs
On this page:
url-replace-path
url-path->string

21.1 URLs

 (require unstable/net/url)

This library is unstable; compatibility will not be maintained. See Unstable for more information.

(url-replace-path proc u)  url?
  proc : ((listof path/param?) . -> . (listof path/param?))
  u : url?
Replaces the URL path of u with proc of the former path.

(url-path->string url-path)  string?
  url-path : (listof path/param?)
Formats url-path as a string with "/" as a delimiter and no params.