ada_get_port

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

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

Parameters

result ada_url

The ada_url handle.

Return Value

An ada_string containing the port.

Meta