Extends
Properties
address
address: stringThe (IP) address of the device.
Type
- string
headers
headers: Object.<string, string>The headers (lowercase) in the SSDP response.
Type
- Object.<string, string>
id
id: stringThe identifier of the result.
Type
- string
lastSeen
lastSeen: DateWhen the device has been last discovered.
Type
- Date
port
port: numberThe port of the device.
Type
- number
Events
addressChanged
.on('addressChanged')This event is fired when the address has changed.
Parameters
Name | Type | Description |
---|---|---|
discoveryResult
|
DiscoveryResult |
lastSeenChanged
.on('lastSeenChanged')This event is fired when the device has been seen again.
Parameters
Name | Type | Description |
---|---|---|
discoveryResult
|
DiscoveryResult |