Uri.buildWithUser
glib.uri.Uri buildWithUser(glib.types.UriFlags flags, string scheme, string user, string password, string authParams, string host, int port, string path, string query = null, string fragment = null)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.
Parameters
flags | flags describing how to build the #GUri |
scheme | the URI scheme |
user | the user component of the userinfo, or null |
password | the password component of the userinfo, or null |
authParams | the auth params of the userinfo, or null |
host | the host component, or null |
port | the port, or -1 |
path | the path component |
query | the query component, or null |
fragment | the fragment, or null |
Returns
a new #GUri