publish(options:)
Attempts to advertise the receiver on the network, with the given options.
Declaration
func publish(options: NetService.Options = [])Parameters
- options:
Options for the receiver. The supported options are described in Options.
Discussion
This method returns immediately, with success or failure indicated by the callbacks to the delegate.