join_with_user


Description:

[ Version ( since = "2.66" ) ]
public static string join_with_user (UriFlags flags, string scheme, string? user, string? password, string? auth_params, string? host, int port, string path, string? query, string? fragment)

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 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:

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

auth_params

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:

an absolute URI string