[ Version ( since = "2.66" ) ]
public static bool is_valid (string uri_string, UriFlags flags) throws UriError
Parses uri_string according to flags, to determine whether it is a valid absolute URI, i.
e. it does not need to be resolved relative to another URI using parse_relative.
If it’s not a valid URI, an error is returned explaining how it’s invalid.
See split, and the definition of
UriFlags, for more information on the effect of flags.
| uri_string |
a string containing an absolute URI |
| flags |
flags for parsing |
|
true if |