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

Anton Afanasev

10/26/2021, 6:53 PM
Hi there! Does anybody know if
ktor 2.0
going to have support for multiplatform websockets (Client side)?
o

Oliver.O

10/26/2021, 7:18 PM
As Ktor 1.6 already has such support, I suppose Ktor 2.0 will have it as well.
a

Anton Afanasev

10/26/2021, 7:23 PM
Interesting. Do you mean Client side support? Do you know what minimum ios version is supported?
Just got to the part where Hadi was asked about websocket support on ios. Looks like they are still blocked by some issues on K\Native and as soon as they got resolved they will do their part.

https://youtu.be/mye9NjvxVSU?t=2308

o

Oliver.O

10/26/2021, 9:14 PM
Ah, I see, you're interested in Native, that's apparently a different issue. Websockets on browser clients do work, and if I remember correctly, the same on Android. Hopefully IOS will catch up there.
a

Aleksei Tirman [JB]

10/27/2021, 9:11 AM
Here is a feature request for supporting Websockets on iOS.
e

edenman

11/02/2021, 9:41 PM
@hhariri which issues is this blocked on? or is it a more “we need the new memory model to make this work” thing?
h

hhariri

11/03/2021, 5:47 AM
Mainly the new memory model, but will talk to team about any updates
🎉 2