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.
I updated the code to work with Swift 3 and RxSwift 3.0.
The API changed slightly. Rather than subclassing
WebSocket
, this uses the newReactive
thing to extend methods ontoWebSocket
. 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.