ada_has_port

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

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

Parameters

result ada_url

The ada_url handle.

Return Value

Type: bool

true if a port is present, false otherwise.

Meta