Parses uri_ref (which can be an
absolute or relative URI) according to flags, and
returns the pieces. Any component that doesn't appear in uri_ref will be
returned as null (but note that all URIs always have a path component,
though it may be the empty string).
If flags contains GLib.UriFlags.ENCODED, then %-encoded characters in
uri_ref will remain encoded in the output strings. (If not,
then all such characters will be decoded.) Note that decoding will
only work if the URI components are ASCII or UTF-8, so you will
need to use GLib.UriFlags.ENCODED if they are not.
Parses
uri_ref(which can be an absolute or relative URI) according toflags, and returns the pieces. Any component that doesn't appear inuri_refwill be returned asnull(but note that all URIs always have a path component, though it may be the empty string).If
flagscontains GLib.UriFlags.ENCODED, then%-encoded characters inuri_refwill remain encoded in the output strings. (If not, then all such characters will be decoded.) Note that decoding will only work if the URI components are ASCII or UTF-8, so you will need to use GLib.UriFlags.ENCODED if they are not.Note that the GLib.UriFlags.HAS_PASSWORD and GLib.UriFlags.HAS_AUTH_PARAMS
flagsare ignored byg_uri_split(), since it always returns only the full userinfo; useg_uri_split_with_user()if you want it split up.