URI


Description:

[ CCode ( has_construct_function = false ) ]
public URI (string? uri_string)

Parses an absolute URI.

You can also pass null for uri_string if you want to get back an "empty" URI that you can fill in by hand. (You will need to call at least set_scheme and set_path, since those fields are required.)

Parameters:

uri_string

a URI

Returns:

a URI, or null if the given string was found to be invalid.