RxSwiftCommunity / RxStarscream

A lightweight extension to subscribe Starscream websocket events with RxSwift
MIT License
152 stars 52 forks source link

Swift 3 #4

Closed rabidaudio closed 7 years ago

rabidaudio commented 7 years ago

I updated the code to work with Swift 3 and RxSwift 3.0.

The API changed slightly. Rather than subclassing WebSocket, this uses the new Reactive thing to extend methods onto WebSocket. Otherwise things are the same but match Swift 3 conventions (lowercase enums, etc).

Also added write methods as observables. Not sure if you want to support that API or not.

ivanbruel commented 7 years ago

Since no one picked this up, I'll do it. Thanks for the PR.