Uri.joinWithUser

string joinWithUser(glib.types.UriFlags flags, string scheme, string user, string password, string authParams, string host, int port, string path, string query = null, string fragment = null)

Joins the given components together according to flags to create an absolute URI string. path may not be null (though it may be the empty string).

In contrast to [glib.uri.Uri.join], this allows specifying the components of the ‘userinfo’ separately. It otherwise behaves the same.

G_URI_FLAGS_HAS_PASSWORD and G_URI_FLAGS_HAS_AUTH_PARAMS are ignored if set in flags.

Parameters

flagsflags describing how to build the URI string
schemethe URI scheme, or null
userthe user component of the userinfo, or null
passwordthe password component of the userinfo, or null
authParamsthe auth params of the userinfo, or null
hostthe host component, or null
portthe port, or -1
paththe path component
querythe query component, or null
fragmentthe fragment, or null

Returns

an absolute URI string