Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/53ningen/rxhttp

http client implementation using RxSwift and RxCocoa
https://github.com/53ningen/rxhttp

Last synced: 7 days ago
JSON representation

http client implementation using RxSwift and RxCocoa

Awesome Lists containing this project

README

        

RxHttp
===============

http client implementation using RxSwift and RxCocoa

This software is released under the MIT License, see LICENSE

## Usage

```swift
let disposeBag = DisposeBag()
let client = DefaultRxHttpClient(defaultTimeoutSec: 5)
client.get(NSURL(string: "http://gochiusa.com")!, parameters: nil, headers: nil)
.observeOn(MainScheduler.sharedInstance)
.subscribeNext({ (data, response) -> Void in
//...do something
})
.addDisposableTo(disposeBag)
```