ada_get_host_type

Retrieves the host type of a parsed URL. Returns an undefined value if the URL is invalid.

extern (C) @nogc nothrow @safe @trusted
ubyte
ada_get_host_type
()

Parameters

result ada_url

The ada_url handle.

Return Value

Type: ubyte

A ubyte representing the host type (as defined by the Ada library).

Meta