How can I use `ktor-http` dependency in a multipla...
# multiplatform
a
How can I use
ktor-http
dependency in a multiplatform project? I added
io.ktor:ktor-http
dependency inside the
commonMain
. As
ktor-http
is a multiplatform library itself I expected this should be enough. But for
jvm
I should also add
io.ktor:ktor-http-cio
and for
js
it only works if there is
io.ktor:ktor-client-js
dependency. Why is single common dependency not enough?
Oh, I had to add
ktor-http-jvm
,
ktor-http-js
and so forth.
o
#ktor