rong_url 0.3.1

URL module for RongJS
docs.rs failed to build rong_url-0.3.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: rong_url-0.1.1

rong_url

URL parsing and manipulation following the Web API standard.

JS APIs

  • URL — URL class
    • new URL(url, base?) — parse a URL string
    • Properties: href, origin, protocol, host, hostname, port, pathname, search, hash, username, password
    • searchParams — associated URLSearchParams instance
    • toString(), toJSON() — serialize back to string
  • URLSearchParams — query string class
    • new URLSearchParams(init?) — create from string, array of pairs, or object
    • get(name), getAll(name), has(name), set(name, value), append(name, value), delete(name)
    • sort() — sort parameters by name
    • entries(), keys(), values(), forEach()
    • size — number of parameters
    • toString() — serialize to query string