[ Version ( since = "2.66" ) ]
public static Uri parse_relative (Uri? base_uri, string uri_string, UriFlags flags) throws UriError
Parses uri_ref
according to flags
and, if it is a relative URI, resolves it relative to
this.
If the result is not a valid absolute URI, it will be discarded, and an error returned.
base_uri |
a base absolute URI |
flags |
flags describing how to parse |
uri_ref |
a string representing a relative or absolute URI |
a new Uri, or NULL on error. |