archttp.Url

Undocumented in source.

Members

Classes

UrlException
class UrlException

An exception thrown when something bad happens with Urls.

Functions

percentDecode
string percentDecode(string encoded)

Percent-decode a string.

percentDecodeRaw
immutable(ubyte)[] percentDecodeRaw(string encoded)

Percent-decode a string into a ubyte array.

percentEncode
string percentEncode(string raw)

Percent-encode a string.

punyDecode
string punyDecode(string input)

Decode the input string using the Punycode algorithm.

punyEncode
string punyEncode(string input)

Encode the input string using the Punycode algorithm.

Structs

QueryParams
struct QueryParams

A collection of query parameters.

Url
struct Url

A Unique Resource Locator.

Variables

schemeToDefaultPort
enum ushort[string] schemeToDefaultPort;

* A mapping from schemes to their default ports. * This is not exhaustive. Not all schemes use ports. Not all schemes uniquely identify a port to * use even if they use ports. Entries here should be treated as best guesses.

Meta