Instance Property

txtRecord

The TXT record associated with a connected Bonjour service endpoint

Declaration

var txtRecord: Data? { get }

Discussion

When the connection is connected to a Bonjour service endpoint, the TXT record associated with the Bonjour service is available via this property.

See Also

Getting Connection Properties

var endpoint: NWEndpoint

The destination endpoint with which this connection was created

var localAddress: NWEndpoint?

The IP address endpoint from which the connection was established

var remoteAddress: NWEndpoint?

The IP address endpoint to which the connection was established

var connectedPath: NWPath?

The network path over which the connection was established