Hi guys, has anyone here got some experience with Ktor websockets client in a multiplatform project? Does it work properly?
Last time I checked (a few months ago) the doc was not really in sync with the artifacts, and it failed at runtime, so I wondered if things had moved since then.
Any multiplatform websocket client would do, I just didn’t find anything other than Ktor so far. I’m mostly interested in JVM + JS support, but all-platform support would be a big plus.
01/31/2020, 2:56 PM
Ktor provides a WebSocket client for the following engines: CIO, OkHttp, Js.
We were just going through websockets for iOS/Android, look a few posts back.
For my team it didn't do it as CIO doesn't work (that's what I was told) and we had some issues with visibility of CIO itself (that's what we experienced :P)
Maybe You will have more luck with JS/JVM 🙂
01/31/2020, 4:11 PM
@Kris Wong thanks for your answer, I’m aware of the doc and it doesn’t seem to have changed since last time I tried to use Ktor. I was just wondering what is actually working (as opposed to what’s advertised in the doc), just to save some time in case someone was already successfully using this
@Mikołaj Karwowski thanks for your reply, I just saw your post indeed, well I guess I’ll have to try and figure this out by myself 🙂
01/31/2020, 6:16 PM
My experience has gotten them working easily on JVM, havent tried JS, and no luck on iOS, this was October last year.