Uri.build

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.

class Uri
static
build
(,
string scheme
,
string userinfo
,
string host
,
int port
,
string path
,
string query = null
,
string fragment = null
)

Parameters

flags glib.types.UriFlags

flags describing how to build the #GUri

scheme string

the URI scheme

userinfo string

the userinfo component, or null

host string

the host component, or null

port int

the port, or -1

path string

the path component

query string

the query component, or null

fragment string

the fragment, or null

Return Value

Type: glib.uri.Uri

a new #GUri