UNPKG

@sectester/repeater

Version:

Package for managing repeaters, which are mandatory for scanning targets on a local network.

12 lines (11 loc) 562 B
import { HttpsProxyAgent, type HttpsProxyAgentOptions } from 'https-proxy-agent'; import { type URL } from 'node:url'; import type http from 'node:http'; import type net from 'node:net'; declare const kTlsUpgradeOptions: unique symbol; export declare class PatchedHttpsProxyAgent<T extends string> extends HttpsProxyAgent<T> { private readonly [kTlsUpgradeOptions]?; constructor(proxy: T | URL, opts?: HttpsProxyAgentOptions<T>); connect(req: http.ClientRequest, opts: Parameters<HttpsProxyAgent<T>['connect']>[1]): Promise<net.Socket>; } export {};