Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native websocket client support #1215

Closed
IgorKey opened this issue Jul 1, 2019 · 17 comments
Closed

Native websocket client support #1215

IgorKey opened this issue Jul 1, 2019 · 17 comments
Assignees
Labels

Comments

@IgorKey
Copy link

IgorKey commented Jul 1, 2019

Guys, Do you have any plans to support ktor-http-cio/posix/src/io/ktor/http/cio/websocket?

There is the nice one library https://github.com/korlibs/korio, thanks Carlos.
But now this library is not supported for 1.3.30+ kotlin. And I think we should use best api for this one, like in ktor.

@e5l e5l self-assigned this Jul 2, 2019
@serebit
Copy link

serebit commented Oct 15, 2019

This is the only thing blocking one of my projects from supporting Kotlin/Native. The stubs do allow it to compile, but it won't run without implementation. An update on this would be appreciated, @e5l

@IgorKey
Copy link
Author

IgorKey commented May 1, 2020

@e5l , are there any plans for this( I saw u branch cio-common)?

@e5l
Copy link
Member

e5l commented May 12, 2020

Yep, we're waiting for 1.4-M2 for the fixes. ETA is around kotlin 1.4. Sorry for the delay.

@oleg-larshin
Copy link

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

@ArtRoman
Copy link

ArtRoman commented Sep 2, 2020

Yep, we're waiting for 1.4-M2 for the fixes. ETA is around kotlin 1.4. Sorry for the delay.

Kotlin 1.4 is out, ktor 1.4.0 is released, too. CIO engine supports native platform now.
iOS app compiles without any errors, but still fails with WebSockets is not supported in native CIO engine. on this line. Any updates?

@serebit
Copy link

serebit commented Sep 2, 2020

Ktor 1.4 supports sockets on native, but seemingly not websockets.

@ln-12
Copy link

ln-12 commented Oct 2, 2020

I'm also longingly waiting for websocket support on both Android and iOS. Can we expect it to come soon?

@theromis
Copy link

theromis commented Jan 7, 2021

android CIO have websocket support, we using it in Lonje chat app https://play.google.com/store/apps/details?id=com.lonje

@dragossusi
Copy link

Any news about this?

@DRSchlaubi
Copy link
Contributor

Support has been added here e7c8c03 however native still misses TLS support for wss (KTOR-1161)

@e5l
Copy link
Member

e5l commented Apr 19, 2022

Fixed in 2.0.0. TLS support will be added soon

@e5l e5l closed this as completed Apr 19, 2022
@theromis
Copy link

@e5l Is it true? Native websocket support will be added soon?

@DRSchlaubi
Copy link
Contributor

@e5l Is it true? Native websocket support will be added soon?

ws support is there, TLS support (required for wss) will be added soon

@theromis
Copy link

@DRSchlaubi yay, thank you, can't wait to finally switch on iOS

@theromis
Copy link

theromis commented Jun 27, 2022

@DRSchlaubi may I ask where I can check status of TLS support addition? Is it related to this? #2939

@vahidlazio
Copy link

@e5l Hey, does the tls support also include tls v1.3 and ECH?

@DRSchlaubi
Copy link
Contributor

DRSchlaubi commented Jun 15, 2023

@DRSchlaubi yay, thank you, can't wait to finally switch on iOS

If you don't care about linux you can use other engines

But @e5l would be nice to get a heads up on TLS in CIO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

10 participants