has_protocol


Description:


[ Version ( replacement = "Uri.has_protocol" ) ]
public bool has_protocol (string uri, string protocol)

Checks if the protocol of a given valid URI matches protocol.

Parameters:

uri

a URI string

protocol

a protocol string (e.g. "http")

Returns:

true if the protocol matches.


Namespace: Gst.URI
Package: gstreamer-1.0



2022 vala-language.org