UNPKG

homebridge-plugin-wrapper

Version:

Wrapper for Homebridge and NodeJS-HAP with reduced dependencies that allows to intercept plugin values and also send to them

14 lines 630 B
export declare function findLoopbackAddress(): string; /** * Returns the loopback address for the machine. * Uses IPV4 loopback address by default and falls back to global unique IPv6 loopback and then * link local IPv6 loopback address. * If no loopback interface could be found a error is thrown. */ export declare function getOSLoopbackAddress(): string; /** * Refer to {@link getOSLoopbackAddress}. * Instead of throwing an error, undefined is returned if loopback interface couldn't be detected. */ export declare function getOSLoopbackAddressIfAvailable(): string | undefined; //# sourceMappingURL=net-utils.d.ts.map