Uri.parse

Parses uri_string according to flags. If the result is not a valid absolute URI, it will be discarded, and an error returned.

class Uri
static
parse

Parameters

uriString string

a string representing an absolute URI

flags glib.types.UriFlags

flags describing how to parse uri_string

Return Value

Type: glib.uri.Uri

a new #GUri, or NULL on error.