ada_get_host

Retrieves the host component of a parsed URL (hostname + port). Returns an empty string if the URL is invalid or no host is present.

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

Parameters

result ada_url

The ada_url handle.

Return Value

An ada_string containing the host.

Meta