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

galex

01/27/2019, 5:09 AM
Can I use ktor-client-common for a js node app? The documentation talk about clients only for android and iOS, but I can see there’s a kotlin-client-js in the github repo which is just a dependency to ktor-client-common?
📝 1
a

Alexander

01/27/2019, 11:23 AM
There also is a documentation for a ktor js client: https://ktor.io/clients/http-client/engines.html#js-javascript
Also to use ktor-client you should install
node-fetch
library.
g

galex

01/28/2019, 4:17 AM
Thank you!
10 Views