https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
g

Gin Wang

01/08/2020, 7:58 PM
Hello, is there a preferred way to do url encoding on KMP? kTor seems to be the only option I've found so far
s

Sam

01/08/2020, 10:49 PM
There isn’t anything in the standard library. If you don’t want to use ktor you can use an expect/actual and class or function and then wrap the platforms methods of url encoding.
g

Gin Wang

01/08/2020, 11:12 PM
👍 thanks Sam!
11 Views