uri_get_protocol
function uri_get_protocol(uri:String):String { // Gjs wrapper for gst_uri_get_protocol() }
Extracts the protocol out of a given valid URI. The returned string must be freed using GLib.free.
- uri
A URI string
- Returns
The protocol for this URI.