URIHandlerT.uriGetProtocol

Extracts the protocol out of a given valid URI. The returned string must be freed using g_free().

template URIHandlerT(TStruct)
static
string
uriGetProtocol
(
string uri
)

Parameters

uri string

A URI string

Return: The protocol for this URI.

Meta