Structure

NWBrowser.Result

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

Declaration

struct NWBrowser.Result

Topics

Evaluating Browser Results

let endpoint: NWEndpoint

The discovered service endpoint.

let interfaces: [NWInterface]

The list of interfaces on which the service was discovered.

let metadata: NWBrowser.Result.Metadata

The metadata associated with the discovered service, such as the TXT record.

enum NWBrowser.Result.Metadata

Values associated with discovered services, such as TXT records.

struct NWTXTRecord

A dictionary representing a TXT record in a DNS packet.

Instance Properties

Relationships

Conforms To

See Also

Browsing for Services

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

Initializes a browser with a type of service to discover.

enum NWBrowser.Descriptor

A service description used to discover Bonjour services.

func start(queue: DispatchQueue)

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

var browseResults: Set<NWBrowser.Result>

The list of discovered services.