Find and publish network services advertised by multicast DNS (Bonjour) with Hammerspoon.
This module will allow you to discover services advertised on your network through multicast DNS and publish services offered by your computer.
Signature | hs.bonjour.machineServices(target, callback) -> none |
---|---|
Type | Function |
Description | Polls a host for the service types it is advertising via multicast DNS. |
Parameters |
|
Returns |
|
Notes |
|
Source | extensions/bonjour/bonjour.lua line 214 |
Signature | hs.bonjour.networkServices(callback, [timeout]) -> none |
---|---|
Type | Function |
Description | Returns a list of service types being advertised on your local network. |
Parameters |
|
Returns |
|
Notes |
|
Source | extensions/bonjour/bonjour.lua line 168 |
Signature | hs.bonjour.new() -> browserObject |
---|---|
Type | Constructor |
Description | Creates a new network service browser that finds published services on a network using multicast DNS. |
Parameters |
|
Returns |
|
Source | extensions/bonjour/libbonjoir.m line 138 |
Signature | hs.bonjour:findBrowsableDomains(callback) -> browserObject |
---|---|
Type | Method |
Description | Return a list of zero-conf and bonjour domains visible to the users computer. |
Parameters |
|
Returns |
|
Notes |
|
Source | extensions/bonjour/libbonjoir.m line 186 |
Signature | hs.bonjour:findRegistrationDomains(callback) -> browserObject |
---|---|
Type | Method |
Description | Return a list of zero-conf and bonjour domains this computer can register services in. |
Parameters |
|
Returns |
|
Notes |
|
Source | extensions/bonjour/libbonjoir.m line 224 |
Signature | hs.bonjour:findServices(type, [domain], [callback]) -> browserObject |
---|---|
Type | Method |
Description | Find advertised services of the type specified. |
Parameters |
|
Returns |
|
Notes |
|
Source | extensions/bonjour/bonjour.lua line 65 |
Signature | hs.bonjour:includesPeerToPeer([value]) -> current value | browserObject |
---|---|
Type | Method |
Description | Get or set whether to also browse over peer-to-peer Bluetooth and Wi-Fi, if available. |
Parameters |
|
Returns |
|
Notes |
|
Source | extensions/bonjour/libbonjoir.m line 161 |
Signature | hs.bonjour:stop() -> browserObject |
---|---|
Type | Method |
Description | Stops a currently running search or resolution for the browser object |
Parameters |
|
Returns |
|
Notes |
|
Source | extensions/bonjour/libbonjoir.m line 292 |