dbus-sdk
Version:
A Node.js SDK for interacting with DBus, enabling seamless service calling and exposure with TypeScript support
19 lines • 883 B
TypeScript
import { CommonConnectOpts } from './CommonConnectOpts';
/**
* Interface defining connection options for connecting to a DBus bus using a bus address.
* Extends CommonConnectOpts to include shared connection settings alongside bus-specific options.
*/
export interface BusAddressConnectOpts extends CommonConnectOpts {
/**
* The DBus bus address to connect to.
* This can be a string representing the address of the bus (e.g., 'unix:path=/var/run/dbus/system_bus_socket').
* If not provided, a default or environment-based address (like DBUS_SESSION_BUS_ADDRESS) may be used.
*/
busAddress?: string;
/**
* The timeout value in milliseconds for the connection attempt.
* If not specified, a default timeout may be applied by the underlying implementation.
*/
timeout?: number;
}
//# sourceMappingURL=BusAddressConnectOpts.d.ts.map