Files
2025-12-07 14:32:46 +00:00

9 lines
332 B
TypeScript
Executable File

import { type IStream } from '../shared';
export interface SocksConnectionOptions {
timeout?: number;
lookup?: (hostname: string) => Promise<{
address: string;
}>;
}
export default function openSocks(destinationHost: string, destinationPort: number, socksUrl: string, options?: SocksConnectionOptions): IStream;