kinetex - v1.0.0-rc.1
    Preparing search index...

    Interface Socks5ProxyConfig

    Connection parameters for a SOCKS5 proxy server.

    Supports optional username/password authentication, remote DNS, and configurable timeouts with retry.

    interface Socks5ProxyConfig {
        host: string;
        port?: number;
        username?: string;
        password?: string;
        remoteDns?: boolean;
        connectTimeoutMs?: number;
        handshakeTimeoutMs?: number;
        maxRetries?: number;
        retryDelayMs?: number;
    }
    Index

    Properties

    host: string

    Proxy host (hostname or IP)

    port?: number

    Proxy port (default: 1080)

    username?: string

    Username for USERNAME/PASSWORD auth

    password?: string

    Password for USERNAME/PASSWORD auth

    remoteDns?: boolean

    If true, send the domain name to the proxy for remote DNS resolution (SOCKS5h behaviour). Default: true.

    connectTimeoutMs?: number

    Connection timeout to the proxy in ms (default: 10_000)

    handshakeTimeoutMs?: number

    Per-read timeout during handshake in ms (default: 10_000)

    maxRetries?: number

    Number of retry attempts on transient failures (default: 2)

    retryDelayMs?: number

    Base delay between retries in ms (default: 300)