ada_has_empty_hostname

Checks if a parsed URL has an empty hostname. Returns false if the URL is invalid.

extern (C) @nogc nothrow @safe @trusted
bool
ada_has_empty_hostname
()

Parameters

result ada_url

The ada_url handle.

Return Value

Type: bool

true if the hostname is empty, false otherwise.

Meta