Uri.setScheme

Set or unset the scheme for the URI.

class Uri
bool
setScheme
(
string scheme
)

Parameters

scheme string

The new scheme to set or NULL to unset the scheme.

Return Value

Type: bool

TRUE if the scheme was set/unset successfully.

Meta