https://kotlinlang.org logo
n

Nikky

05/03/2019, 10:04 PM
i am looking for a library to establish a longliving 2-way connection between client and server on jvm and js clients i originally thought ktor would work for websockets but websocket support is only on CIO, which is only on the jvm it seems
d

darkmoon_uk

05/03/2019, 10:27 PM
You may be in luck. Check out the latest 1.2.0-rc, I think adding JS websockets is the headline feature: https://bintray.com/kotlin/ktor/ktor#release
@Nikky read your post on #ktor as well; I haven't tried JS websockets but there must be something to it if they've said it's released (does it have to be integrated with Coroutines I/O for your purposes?). @cy Can you throw any light on this one?
2 Views