API Version: 1.0
Library Version: 1.8.1
gchar* fu_common_uri_get_scheme ( const gchar* uri )
Returns the USI scheme for the given URI.
uri
const gchar*
Valid URI, e.g. https://foo.bar/baz
https://foo.bar/baz
gchar*
Scheme value, or NULL if invalid, e.g. https
NULL
https