RxMultipeer

RxMultipeer is a RxSwift wrapper for MultipeerConnectivity.

Using the adapter pattern, we can test multipeer code with heavy mocking. In effect, we are trying to isolate all the untestable bits of MultipeerConnectivity into one library.

This library also gives you the flexibility to swap out the underlying mechanics of p2p with some other protocol such as websockets. At the moment it only comes with support for Apple’s MultipeerConnectivity, however you can easily write your own adapters for different protocols.


Posted

in

,

by

Tags:

Comments

Leave a Reply