Url.toPathAndQueryString

Convert the path and query string of this Url to a string.

struct Url
pure const
string
toPathAndQueryString
()

Examples

auto u = "http://example.org/index?page=12".parseUrl;
auto pathAndQuery = u.toPathAndQueryString();
assert(pathAndQuery == "/index?page=12", pathAndQuery);

Meta