URI.setScheme

Sets @uri's scheme to @scheme. This will also set @uri's port to the default port for @scheme, if known.

class URI
void
setScheme
(
string scheme
)

Parameters

scheme string

the URI scheme

Meta