Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/diamirio/rxsession


https://github.com/diamirio/rxsession

Last synced: about 5 hours ago
JSON representation

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
```