uriJoinWithUser

fun uriJoinWithUser(flags: UriFlags, scheme: String? = null, user: String? = null, password: String? = null, authParams: String? = null, host: String? = null, port: Int, path: String, query: String? = null, fragment: String? = null): String

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 g_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.

Return

an absolute URI string

Since

2.66

Parameters

flags

flags describing how to build the URI string

scheme

the URI scheme, or null

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