toggle menu
ktor
2.3.12
3.0.0
3.0.0-rc-1
3.0.0-beta-2
3.0.0-beta-1
2.3.12
2.2.4
2.0.3
1.6.8
common
switch theme
search in API
ktor-http
/
io.ktor.http
/
encodeURLQueryComponent
encode
URLQuery
Component
fun
String
.
encodeURLQueryComponent
(
encodeFull
:
Boolean
=
false
,
spaceToPlus
:
Boolean
=
false
,
charset
:
Charset
=
Charsets.UTF_8
)
:
String
Encode url part as specified in https://tools.ietf.org/html/rfc3986#section-2