ada_has_hostname

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

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

Parameters

result ada_url

The ada_url handle.

Return Value

Type: bool

true if a hostname is present, false otherwise.

Meta