RxECNetworking
An extension of ECNetworking.
Installation
SPM
.package(url: "https://github.com/EvanCooper9/RxECNetworking", from: "1.0.0")
Cocoapods
pod 'RxECNetworking'
Usage
The only difference is how requests are sent and responses are handled.
let request = ListUsersRequest(online: true)
network.send(request)
.subscribe(onSuccess: { users in
showUsers(users)
})
.disposed(by: disposeBag)