Uri.setPort

Set or unset the port number for the URI.

class Uri
bool
setPort
(
uint port
)

Parameters

port uint

The new port number to set or GST_URI_NO_PORT to unset.

Return Value

Type: bool

TRUE if the port number was set/unset successfully.

Meta