icerockdev / moko-network

Network components with codegeneration of rest api for mobile (android & ios) Kotlin Multiplatform development
https://moko.icerock.dev
Apache License 2.0
151 stars 29 forks source link

Add WebSockets support to ktor's Ios HttpClientEngine #149

Closed Alex009 closed 2 years ago

Alex009 commented 3 years ago

We already can use ktor-client to websockets communications on android (with ktor-client-okhttp), but on iOS it's disabled. Here proof of concept project where implemented iOS websockets support for ktor HttpClientEngine on iOS - https://github.com/Alex009/ktor-client-ios-websockets

in this issue we should add into moko-network library ability to create HttpClientEngine with websockets support

y9san9 commented 3 years ago

Add support for ping configuration in native client

Alex009 commented 3 years ago

https://developer.apple.com/documentation/foundation/nsurlsessionwebsockettask require iOS 13.0