Method

GLibUriget_port

since: 2.66

Declaration

gint
g_uri_get_port (
  GUri* uri
)

Description

Gets uri‘s port.

Available since: 2.66

Return value

Type: gint

uri‘s port, or -1 if no port was specified.