Latest 4.1.8
Homepage https://github.com/stefanrenne/RxSSDP
License Apache-2.0
Platforms ios 10.0, tvos 10.0, osx 10.12, requires ARC
Dependencies RxSwift
Frameworks SystemConfiguration
Authors

Swift 4.1
Version
License
Platform

A clean reactive SSDP client, based on UDPBroadcastConnection

Usage

1) Implement the repository

let repository: SSDPRepository = SSDPRepositoryImpl()

2) Scan the network

repository.scan(searchTarget: "urn:schemas-upnp-org:device:ZonePlayer:1")

3) Subscribe for changes

Modify settings

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

Cocoapods

pod 'RxSSDP', '~> 4.1'

Testing

1) Create a FakeSSDPRepository which returns SSDPResponse

Latest podspec

{
    "name": "RxSSDP",
    "version": "4.1.8",
    "license": {
        "type": "Apache-2.0"
    },
    "homepage": "https://github.com/stefanrenne/RxSSDP",
    "authors": {
        "Stefan Renne": "[email protected]"
    },
    "summary": "A clean reactive SSDP client, based on UDPBroadcastConnection",
    "source": {
        "git": "https://github.com/stefanrenne/RxSSDP.git",
        "tag": "4.1.8"
    },
    "swift_version": "4.1",
    "platforms": {
        "ios": "10.0",
        "tvos": "10.0",
        "osx": "10.12"
    },
    "requires_arc": true,
    "source_files": [
        "RxSSDP/*.swift",
        "RxSSDP/SwiftSSDPClient/*.swift"
    ],
    "frameworks": "SystemConfiguration",
    "dependencies": {
        "RxSwift": [
            "~> 4.2"
        ]
    }
}

Pin It on Pinterest

Share This