flags describing how to build the GLib.Uri
the URI scheme
the user component of the userinfo, or null
the password component of the userinfo, or null
the auth params of the userinfo, or null
the host component, or null
the port, or -1
the path component
Optionalquery: stringthe query component, or null
Optionalfragment: stringthe fragment, or null
a new GLib.Uri
Creates a new GLib.Uri from the given components according to
flags(GLib.UriFlags.HAS_PASSWORD is added unconditionally). Theflagsmust be coherent with the passed values, in particular use%-encoded values with GLib.UriFlags.ENCODED.In contrast to
g_uri_build(), this allows specifying the components of the ‘userinfo’ field separately. Note thatusermust be non-nullif eitherpasswordorauth_paramsis non-null.