Uri

Represents a url that can be broken down or built up through properties

struct Uri {
string scheme;
string userinfo;
string host;
int port;
string path;
string query;
string fragment;
}

Constructors

this
this(string uri)

Breaks down a uri string to its components

Alias This

toString

Members

Functions

basedOn
Uri basedOn(in Uri baseUrl)

Returns a new absolute Uri given a base. It treats this one as relative where possible, but absolute if not. (If protocol, domain, or other info is not set, the new one inherits it from the base.)

toString
string toString()

Converts the broken down parts back into a complete string

Meta