UNPKG

multicast-service-discovery

Version:

Announce and look up services on a local network using mdns.

53 lines (28 loc) 845 B
[API](../README.md) / Service # Interface: Service<\> ## Table of contents ### Properties - [addresses](Service.md#addresses) - [host](Service.md#host) - [port](Service.md#port) - [txt](Service.md#txt) ## Properties ### addresses **addresses**: `undefined` \| `string`[] #### Defined in [index.js:9](https://github.com/digidem/multicast-service-discovery/blob/7045b02/index.js#L9) --- ### host **host**: `string` #### Defined in [index.js:6](https://github.com/digidem/multicast-service-discovery/blob/7045b02/index.js#L6) --- ### port **port**: `number` #### Defined in [index.js:7](https://github.com/digidem/multicast-service-discovery/blob/7045b02/index.js#L7) --- ### txt **txt**: `Object` #### Defined in [index.js:8](https://github.com/digidem/multicast-service-discovery/blob/7045b02/index.js#L8)