A clean reactive SSDP client, based on UDPBroadcastConnection
- Implement the repository
let repository: SSDPRepository = SSDPRepositoryImpl()
- Scan the network
repository.scan(searchTarget: "urn:schemas-upnp-org:device:ZonePlayer:1")
-
Subscribe for changes
-
MacOS Apps - when you are using this lib in a MacOS app, then add the following entries to your entitlements file:
- com.apple.security.network.client
- com.apple.security.network.server
Inspect SSDPSettings.swift, this class contains all customizable settings.
pod 'RxSSDP', '~> 5.0'
- Create a
FakeSSDPRepository
which returnsSSDPResponse