get_protocol


Description:


[ Version ( replacement = "Uri.get_protocol" ) ]
public string? get_protocol (string uri)

Extracts the protocol out of a given valid URI.

The returned string must be freed using g_free.

Parameters:

uri

A URI string

Returns:

The protocol for this URI.


Namespace: Gst.URI
Package: gstreamer-1.0



2022 vala-language.org