daltoniam / Starscream

Websockets in swift for iOS and OSX
Apache License 2.0
8.27k stars 1.2k forks source link

Integrating with SwiftNIO #484

Open fassko opened 6 years ago

fassko commented 6 years ago

Apple recently released SwiftNIO framework. https://github.com/apple/swift-nio

SwiftNIO is a cross-platform asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients.

I understand that changing from old C APIs to this is a lot of work so I'm adding this for someone who knows more than me or would like to help me. :)

They also have example: https://github.com/apple/swift-nio/tree/master/Sources/NIOEchoClient

marciniwanicki commented 5 years ago

Hey, is anyone working on leveraging SwiftNIO?

fassko commented 5 years ago

I have made a prototype with just socket without the "web" part. But that part is the hardest with all the upgrade and sending frames.