GLib.Uri.get_port – glib-2.0 Reference Manual
get_port
Description:
[
Version
( since =
"2.66"
) ]
public
int
get_port
()
Gets
this
's port.
Parameters:
this
a
Uri
Returns:
this
's port, or `-1` if no port was specified.
2022 vala-language.org