URL.toHumanReadableString

Convert this URL to a string.

The string is intended to be human-readable rather than machine-readable.

struct URL
const
string
toHumanReadableString
()

Examples

auto url = "https://xn--m3h.xn--n3h.org/?hi=bye".parseURL;
assert(url.toString == "https://xn--m3h.xn--n3h.org/?hi=bye", url.toString);
assert(url.toHumanReadableString == "https://☂.☃.org/?hi=bye", url.toString);

Meta