View Source Exagon.Zeroconf.Mdns.Dnssd.Service (Exagon Zeroconf v0.1.0)

Description of DNS-SD service

Link to this section Summary

Functions

Indicates if a service instance informations are complete.

Link to this section Types

@type t() :: %Exagon.Zeroconf.Mdns.Dnssd.Service{
  additional_info: map(),
  domain: String.t(),
  instance_name: String.t(),
  ip: :inet.ip_address(),
  port: integer(),
  priority: integer(),
  records: list(),
  target: String.t(),
  weight: integer()
}

Link to this section Functions

@spec is_complete?(t()) :: boolean()

Indicates if a service instance informations are complete.

Service instance informations comes from PTR, SRV and TXT records. A service instance is not complete until these three records are received from the MDNS server.