Authority.isIPvFuture

bool isIPvFuture(const string h) @nogc nothrow @safe

Returns true if h looks like an RFC 3986 IPvFuture literal (e.g. v1.fe80::1).

Parameters

hHost string (without brackets).

Returns

true if it matches the heuristic, false otherwise.