Function

GLib-2.0GLiburi_join_with_userSince 2.66

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

    GLib.UriFlags.HAS_PASSWORD and GLib.UriFlags.HAS_AUTH_PARAMS are ignored if set in flags.

    Parameters

    • flags: GLib.UriFlags

      flags describing how to build the URI string

    • scheme: string

      the URI scheme, or null

    • user: string

      the user component of the userinfo, or null

    • password: string

      the password component of the userinfo, or null

    • auth_params: string

      the auth params of the userinfo, or null

    • host: string

      the host component, or null

    • port: number

      the port, or -1

    • path: string

      the path component

    • Optionalquery: string

      the query component, or null

    • Optionalfragment: string

      the fragment, or null

    Returns string

    an absolute URI string

    2.66