UNPKG

@sectester/repeater

Version:

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

18 lines (17 loc) 514 B
import https from 'node:https'; import http from 'node:http'; export interface ProxyOptions { proxyUrl: string; rejectUnauthorized?: boolean; } export interface TargetProxyOptions extends ProxyOptions { targetUrl: string; } export interface ProxyFactory { createProxy(options: ProxyOptions): { httpsAgent: https.Agent; httpAgent: http.Agent; }; createProxyForClient(options: TargetProxyOptions): https.Agent | http.Agent; } export declare const ProxyFactory: unique symbol;