Swiftpack.co - Swift Packages by davidstump

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Packages published by davidstump

davidstump/SwiftPhoenixClient v0.1
Connect your Phoenix and iOS applications through WebSockets!
⭐️ 461
🕓 2 weeks ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
5.1.0
22 weeks ago
* Improved reconnect logic when a heartbeat times out
5.0.0
26 weeks ago
* Removed RxSwift as a dependency * Removed Starscream as a dependency These extensions will now be available under RxSwift - https://github.com/dsrees/RxSwiftPhoenixClient Starscream - Coming Soon
4.0.0
26 weeks ago
Updated to RxSwift 6
3.0.0
39 weeks ago
This is a **BREAKING** release. The following has changed to properly matched the phoenix.js library * `message.payload.response` is now automatically unwrapped and returned as `message.payload` for `phx_reply` events. * The client now, by default, uses the JSON V2 Serializer which was added in phoenix 1.3. If you are still running 1.2 or earlier, then you will need to continue using SwiftPhoenixClient 2.x, or provide your own custom `vsn`, `encoder` and `decoder` to the `Socket` class.
2.1.1
50 weeks ago
### Added * [#195] Fixed thread safety crash in HeartbeatTimer
2.1.0
1 year ago
### Added * [#187] Public init to `Presence.Options`. Thanks @richard-ash * [#186] Customizable `Configuration` when using URLSessionWebsocket. Thanks @bcardarella
2.0.0
1 year ago
### Added * RxSwift Support for listening to channel events * URLSessionWebsocketTask Support * Starscream as an optional module for Apps targeting iOS < 13 * Transport layer to allow for different Websocket implementations under the hood * Support for MacOS, WatchOS, and tvOS ### Fixed * Fixed duplicate rejoins causing a channel to remain unjoined ### Breaking The default `Socket` init that comes with `SwiftPhoenixClient` now uses `URLSessionWebsocketTask` which requires iOS 13. If you are targeting < iOS 13, then you also need to include `StarscreamSwiftPhoenixClient` as a dependency
1.2.0
2 years ago
**Added** * #153 - Ability to initialize a `Socket` with a `paramsClosure` which allows for dynamically setting `params` during `connect` and `reconnect **Fixed** * Issues with adding the client via SPM
1.1.1
2 years ago
**Added** * #141 - tvOS support **Changed** * #145 - Socket reconnect strategy * #146 - Channel rejoin strategy
1.1.0
3 years ago
Swift 5
iOS macOS watchOS tvOS

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics