Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diamirio/rxsession
https://github.com/diamirio/rxsession
Last synced: about 5 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/diamirio/rxsession
- Owner: diamirio
- License: mit
- Created: 2019-08-21T07:59:08.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-07-22T09:06:48.000Z (over 2 years ago)
- Last Synced: 2024-11-12T13:46:40.675Z (3 days ago)
- Language: Swift
- Size: 37.1 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# RxSession
RxSession is a `Swift Package` and a `CocoaPod` that integrates `Endpoints` with `RxSwift`.
It adds a `start(call:)` function to `Session` that return a `Single` that can be used instead of the completion handler of `Session.dataTask(for:completion:)`.
```swift
struct CustomCall: Call { ... }let client = AnyClient(baseURL: ...)
let session = Session(with: client)session.start(call: CustomCall())
// rx-Chain
```