korlibs-archive / korio

Korio: Kotlin cORoutines I/O : Virtual File System + Async/Sync Streams + Async TCP Client/Server + WebSockets for Multiplatform Kotlin 1.3
https://korlibs.soywiz.com/korio/
MIT License
361 stars 34 forks source link

Kotlin Native #142

Closed jan-tennert closed 3 years ago

jan-tennert commented 3 years ago

Sorry if this is a stupid question but I cant test it right know are websockets available for kotlin native?

soywiz commented 3 years ago

I believe they are available. But only ws:// not wss:// because secure sockets are not implemented on native right now

jan-tennert commented 3 years ago

Hm ok thanks

soywiz commented 3 years ago

@jan-tennert is that enough for your case, or would you need secure sockets? This is the related task: https://github.com/korlibs/korio/issues/62

In the case you need it, which kotlin native targets would you need? Windows, linux, mac, or ios?

jan-tennert commented 3 years ago

Im making a multiplatform Discord API wrapper and I wanted to use Korio for the gateway (websocket) connection and also for http requests. But I think their websocket is available for ws but im not sure

jan-tennert commented 3 years ago

If yes korio as well as klock would fit perfectly in my project