encodeURI

external fun encodeURI(uri: String): String(source)

Encodes a text string as a valid Uniform Resource Identifier (URI)

Parameters

uri

A value representing an unencoded URI.