proxy-chain
Version:
Node.js implementation of a proxy server (think Squid) with support for SSL, authentication, upstream proxy chaining, and protocol tunneling.
6 lines • 447 B
TypeScript
export declare function createTunnel(proxyUrl: string, targetHost: string, options?: {
verbose?: boolean;
ignoreProxyCertificate?: boolean;
}, callback?: (error: Error | null, result?: string) => void): Promise<string>;
export declare function closeTunnel(serverPath: string, closeConnections: boolean | undefined, callback: (error: Error | null, result?: boolean) => void): Promise<boolean>;
//# sourceMappingURL=tcp_tunnel_tools.d.ts.map