UNPKG

iop

Version:
11 lines (10 loc) 562 B
import { SSHClient } from "../ssh"; export declare const IOP_PROXY_NAME = "iop-proxy"; /** * Check if the iop proxy is running and set it up if not * @param serverHostname The hostname of the server * @param sshClient SSH client connection * @param verbose Whether to show verbose output * @param forceUpdate Whether to force update the proxy even if it exists (default: false - only install if not present) */ export declare function setupIopProxy(serverHostname: string, sshClient: SSHClient, verbose?: boolean, forceUpdate?: boolean): Promise<boolean>;