Function

GLib-2.0GLiburi_buildSince 2.66

  • Creates a new GLib.Uri from the given components according to flags.

    See also g_uri_build_with_user(), which allows specifying the components of the "userinfo" separately.

    Parameters

    • flags: GLib.UriFlags

      flags describing how to build the GLib.Uri

    • scheme: string

      the URI scheme

    • userinfo: string

      the userinfo component, 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 GLib.Uri

    a new GLib.Uri

    2.66