Uri

Decomposed URI reference (RFC 3986 §3). Empty-vs-absent matters for authority and query, so those carry presence flags.

@safe
struct Uri {
string scheme;
bool hasAuthority;
string authority;
string path;
bool hasQuery;
string query;
bool hasFragment;
string fragment;
}

Members

Functions

toString
string toString()

Recompose per RFC 3986 §5.3.