parseRelative

fun parseRelative(uriRef: String, flags: UriFlags): <Error class: unknown class><Uri>

Parses @uri_ref according to @flags and, if it is a #relative-and-absolute-uris, resolves it relative to @base_uri. If the result is not a valid absolute URI, it will be discarded, and an error returned.

Return

a new #GUri, or NULL on error.

Since

2.66

Parameters

uriRef

a string representing a relative or absolute URI

flags

flags describing how to parse @uri_ref