kaven-utils
Version:
Utils for Node.js.
22 lines (21 loc) • 898 B
TypeScript
/********************************************************************
* @author: Kaven
* @email: kaven@wuwenkai.com
* @website: http://blog.kaven.xyz
* @file: [Kaven-Utils] /src/net/proxy/TlsProxyClient.ts
* @create: 2022-04-20 13:47:57.734
* @modify: 2023-12-07 10:59:05.550
* @version: 5.4.0
* @times: 20
* @lines: 51
* @copyright: Copyright © 2022-2023 Kaven. All Rights Reserved.
* @description: [description]
* @license: [license]
********************************************************************/
import { ConnectionOptions, TLSSocket } from "node:tls";
import { HttpProxyServer } from "./HttpProxyServer.js";
export declare class TlsProxyClient extends HttpProxyServer {
private readonly options;
constructor(options: ConnectionOptions);
protected connect(port: number, host?: string): Promise<TLSSocket>;
}