Parses uri_string (which must be an absolute URI)
according to flags, and returns the pieces relevant to connecting to a host.
See the documentation for g_uri_split() for more details; this is
mostly a wrapper around that function with simpler arguments.
However, it will return an error if uri_string is a relative URI,
or does not contain a hostname component.
Parses
uri_string(which must be an absolute URI) according toflags, and returns the pieces relevant to connecting to a host. See the documentation forg_uri_split()for more details; this is mostly a wrapper around that function with simpler arguments. However, it will return an error ifuri_stringis a relative URI, or does not contain a hostname component.