RxSSDP 5.0.3

RxSSDP 5.0.3

Maintained by Stefan Renne.



RxSSDP 5.0.3

  • By
  • Stefan Renne

RxSSDP

Swift 5.0 Travis Badge Version Carthage compatible License Platform

A clean reactive SSDP client, based on UDPBroadcastConnection

Usage

  1. Implement the repository
let repository: SSDPRepository = SSDPRepositoryImpl()
  1. Scan the network
repository.scan(searchTarget: "urn:schemas-upnp-org:device:ZonePlayer:1")
  1. Subscribe for changes

  2. 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

Modify settings

Inspect SSDPSettings.swift, this class contains all customizable settings.

Cocoapods

pod 'RxSSDP', '~> 5.0'

Carthage

github "stefanrenne/RxSSDP" ~> 5.0

Testing

  1. Create a FakeSSDPRepository which returns SSDPResponse