URI.parseScheme

Since 2.16

class URI
static
string
parseScheme
(
string uri
)

Parameters

uri string

a valid URI.

Return Value

Type: string

The "Scheme" component of the URI, or NULL on error. The returned string should be freed when no longer needed.

Meta