Uri.setPath

Sets or unsets the path in the URI.

class Uri
bool
setPath
(
string path
)

Parameters

path string

The new path to set with path segments separated by '/', or use NULL to unset the path.

Return Value

Type: bool

TRUE if the path was set successfully.

Meta