Constructor
new AdvertiseMdns(options)
- Source:
- See:
Parameters:
Name | Type | Attributes | Default | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | options object Properties
|
||||||||||||||||||||||||||||||||
object.port |
Number |
<optional> |
443
|
Service port |
||||||||||||||||||||||||||||||
object.txt |
Object |
<optional> |
TXT record(s) of the service |
Fires:
- AdvertiseMdns#event:stop
- AdvertiseMdns#event:start
- AdvertiseMdns#event:error
Members
advertiser
- Source:
- See:
options
- Source:
Properties:
Name | Type | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | Advertiser options Properties
|
||||||||||||||||||
advertiser |
Object | mDNS advertiser |
state
- Source:
Properties:
Name | Type | Description |
---|---|---|
state |
Number | State of the advertiser |