helpers.d.ts 625 B

12345678910111213
  1. import { SocksClientOptions, SocksClientChainOptions } from '../client/socksclient';
  2. /**
  3. * Validates the provided SocksClientOptions
  4. * @param options { SocksClientOptions }
  5. * @param acceptedCommands { string[] } A list of accepted SocksProxy commands.
  6. */
  7. declare function validateSocksClientOptions(options: SocksClientOptions, acceptedCommands?: string[]): void;
  8. /**
  9. * Validates the SocksClientChainOptions
  10. * @param options { SocksClientChainOptions }
  11. */
  12. declare function validateSocksClientChainOptions(options: SocksClientChainOptions): void;
  13. export { validateSocksClientOptions, validateSocksClientChainOptions };