Do we still lack Websocket support in ktor, on iOS, i saw a thread and an open issue which was active back in 2021, i dont seem to find an document around multi platform implementation support of websocket with any of the engine, i do see a socket implementation demo app, which plays around native okhttp and NSUrlSession based implementations
m
Md Sadique Inam
08/06/2023, 4:25 PM
Can't we use ktor as common client for multi-platform
h
humbledroid
08/06/2023, 4:36 PM
Ktor can be used, and it does work for http but i am not super sure about, Websockets.
humbledroid
08/06/2023, 4:41 PM
I see that darwin client supports both, http and websockets on ios and okhttp supports both as well, i guess will need to dig more into it
a
Anum Amin
08/06/2023, 8:21 PM
@humbledroid I am interested to know about darwin with okhttp. As per documentation, Ktor supports okhttp on JVM + Android only. Please let me know if you find anything different. Thanks
h
humbledroid
08/07/2023, 4:43 AM
yeah, so we can provide actual implementation based on the platforms, so we can have platform specific clients passed onto the