protocol_is_valid


Description:


[ Version ( replacement = "Uri.protocol_is_valid" ) ]
public bool protocol_is_valid (string protocol)

Tests if the given string is a valid protocol identifier.

Protocols must consist of alphanumeric characters, '+', '-' and '.' and must start with a alphabetic character. See RFC 3986 Section 3.1.

Parameters:

protocol

A string

Returns:

true if the string is a valid protocol identifier, false otherwise.


Namespace: Gst.URI
Package: gstreamer-1.0