flags describing how to build the #GUri
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
the query component, or null
the fragment, or null
a new #GUri
Creates a new #GUri from the given components according to flags (G_URI_FLAGS_HAS_PASSWORD is added unconditionally). The flags must be coherent with the passed values, in particular use %-encoded values with G_URI_FLAGS_ENCODED.
In contrast to glib.uri.Uri.build, this allows specifying the components of the ‘userinfo’ field separately. Note that user must be non-null if either password or auth_params is non-null.