nerves_dnssd v0.3.1 Nerves.Dnssd.ServiceRegistrationSup View Source

Supervisor for service registrations.

Link to this section Summary

Functions

Register a new services. The service remains registered as long as the registration process remains active

Link to this section Functions

Link to this function register(name, protocol, port, txts \\ []) View Source
register(String.t(), String.t(), non_neg_integer(), [String.t()]) ::
  {:ok, pid()} |
  {:error, String.t()}

Register a new services. The service remains registered as long as the registration process remains active.

Normally this would be the whole lifetime of the application.