- public string @construct (string protocol, string location)
Constructs a URI for a given valid protocol and location.
- public Quark error_quark ()
- public Uri? from_string (string uri)
Parses a URI string into a new
Uri object.
- public Uri? from_string_escaped (string uri)
Parses a URI string into a new
Uri object.
- public string? get_location (string uri)
Extracts the location out of a given valid URI, ie.
- public string? get_protocol (string uri)
Extracts the protocol out of a given valid URI.
- public bool has_protocol (string uri, string protocol)
Checks if the protocol of a given valid URI matches protocol
.
- public bool is_valid (string uri)
Tests if the given string is a valid URI identifier.
- public string join_strings (string base_uri, string ref_uri)
This is a convenience function to join two URI strings and return the
result.
- public bool protocol_is_supported (URIType type, string protocol)
Checks if an element exists that supports the given URI protocol.
- public bool protocol_is_valid (string protocol)
Tests if the given string is a valid protocol identifier.