Files
memecoin-botV2/.pnpm-store/v10/files/23/5871595a3c4a5fda50a9e2abb35c719c6c79249e68d16e97fc34eb071a1071e1b391d528ee7b3f96fb9ed3bffc019ea4f263e6711c5a9707b87cc1efaf5b25

26 lines
870 B
Plaintext

import Dispatcher from './dispatcher'
import buildConnector from './connector'
import { OutgoingHttpHeaders } from './header'
import Pool from './pool'
export default Socks5ProxyAgent
declare class Socks5ProxyAgent extends Dispatcher {
constructor (proxyUrl: string | URL, options?: Socks5ProxyAgent.Options)
}
declare namespace Socks5ProxyAgent {
export interface Options extends Pool.Options {
/** Additional headers to send with the proxy connection */
headers?: OutgoingHttpHeaders;
/** SOCKS5 proxy username for authentication */
username?: string;
/** SOCKS5 proxy password for authentication */
password?: string;
/** Custom connector function for proxy connection */
connect?: buildConnector.connector;
/** TLS options for the proxy connection (for SOCKS5 over TLS) */
proxyTls?: buildConnector.BuildOptions;
}
}