ktor
2.0.3
3.0.0-beta-1
2.3.8
2.3.7
2.3.6
2.3.3
2.3.2
2.3.1
2.3.0
2.2.4
2.0.3
1.6.8
common
ktor-http
/
io.ktor.http
/
encodeURLQueryComponent
encode
URLQuery
Component
common
fun
String
.
encodeURLQueryComponent
(
encodeFull
:
Boolean
=
false
,
spaceToPlus
:
Boolean
=
false
,
charset
:
Charset
=
Charsets.UTF_8
)
:
String
Content copied to clipboard
Encode url part as specified in https://tools.ietf.org/html/rfc3986#section-2