ada_get_hostname

Retrieves the hostname component of a parsed URL. Returns an empty string if the URL is invalid or no hostname is present.

extern (C) @nogc nothrow @safe @trusted
ada_get_hostname
()

Parameters

result ada_url

The ada_url handle.

Return Value

An ada_string containing the hostname.

Meta