Enumeration

NWBrowser.Descriptor

A service description used to discover Bonjour services.

Declaration

enum NWBrowser.Descriptor

Topics

Descriptor Types

case bonjour(type: String, domain: String?)

A service descriptor used to discover a Bonjour service.

case bonjourWithTXTRecord(type: String, domain: String?)

A service descriptor used to discover a Bonjour service with associated TXT records.

See Also

Browsing for Services

init(for: NWBrowser.Descriptor, using: NWParameters)

Initializes a browser with a type of service to discover.

func start(queue: DispatchQueue)

Starts browsing for services, and sets the queue on which all browser events will be delivered.

struct NWBrowser.Result

A set of discovered services and changes from the last result.

var browseResults: Set<NWBrowser.Result>

The list of discovered services.