Package-level declarations

Types

Link copied to clipboard
open external class URIError(message: String? = definedExternally, options: ErrorOptions? = definedExternally) : Throwable

Functions

Link copied to clipboard
external fun decodeURI(encodedURI: String): String

Gets the unencoded version of an encoded Uniform Resource Identifier (URI).

Link copied to clipboard
external fun decodeURIComponent(encodedURIComponent: String): String

Gets the unencoded version of an encoded component of a Uniform Resource Identifier (URI).

Link copied to clipboard
external fun encodeURI(uri: String): String

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

Link copied to clipboard
external fun encodeURIComponent(uriComponent: Boolean): String
external fun encodeURIComponent(uriComponent: Number): String

external fun encodeURIComponent(uriComponent: String): String

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