Instance Property


A Bonjour service that advertises the listener on the local network.


final var service: NWListener.Service? { get set }

See Also

Advertising Bonjour Services

struct NWListener.Service

A description used to advertise the Bonjour service that a listener provides.

var serviceRegistrationUpdateHandler: ((NWListener.ServiceRegistrationChange) -> Void)?

A handler that receives updates for the service endpoint being advertised.

enum NWListener.ServiceRegistrationChange

Changes to how a network listener's service is advertised.