Instance Property

serviceRegistrationUpdateHandler

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

Declaration

final var serviceRegistrationUpdateHandler: ((NWListener.ServiceRegistrationChange) -> Void)? { get set }

See Also

Advertising Bonjour Services

var service: NWListener.Service?

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

struct NWListener.Service

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

enum NWListener.ServiceRegistrationChange

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