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

pmiklos

07/12/2020, 8:12 PM
Hi, I am trying to use the HttpClient with WebSockets in a multiplatform project but on linux native I get
[generateNonce] is not supported on iOS
coming from the WebSocketContent constructor. I found that there is no implementation for
generateNonce
in the ktor-utils native library. It's kind of weird it says iOS when the targe platform is linux. Are websockets supposed to work on native linux platform?
n

napperley

07/12/2020, 10:27 PM
Looks like you have encountered a bug 🐛. If you file a new issue on the Ktor repo ( https://github.com/ktorio/ktor/issues ) then someone from the Ktor team will have a look at it.
🆗 1
👍 1
p

pmiklos

07/13/2020, 3:21 AM
well, It was already reported a couple days ago. Interesting that I couldn't find it with google search https://github.com/ktorio/ktor/issues/1934
👍 1
3 Views