UNPKG

@homebridge-plugins/homebridge-cloudflared-tunnel

Version:

The Cloudflared Tunnel plugin allows you to run a Cloudflare-Tunnel for exposing your homebridge instance for remote access.

22 lines 689 B
import * as childProcess from 'node:child_process'; declare class CloudflaredTunnel { private cloudflaredPath; private _token; private url; private hostname; private running; private childProcess; private change; private error; constructor(cloudflaredPath?: string); get token(): string | undefined; set token(token: string | undefined); checkInstalled(): boolean; emitChange(msg: string, code?: number): void; emitError(msg: string): void; start(): void; stop(): void; setChildProcess(childProcess: childProcess.ChildProcess | null): void; } export { CloudflaredTunnel }; //# sourceMappingURL=cloudflared-tunnel.d.ts.map