Uri.build
glib.uri.Uri build(glib.types.UriFlags flags, string scheme, string userinfo, string host, int port, string path, string query = null, string fragment = null)Creates a new #GUri from the given components according to flags.
See also [glib.uri.Uri.buildWithUser], which allows specifying the components of the "userinfo" separately.
Parameters
flags | flags describing how to build the #GUri |
scheme | the URI scheme |
userinfo | the userinfo component, 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
a new #GUri