Url.toHumanReadableString

Convert this Url to a string.

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

struct Url
pure 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