Interface SocksProxySettings

Settings for a SOCKS4/5 proxy

interface SocksProxySettings {
    host: string;
    password?: string;
    port: number;
    user?: string;
    version?: 4 | 5;
}

Properties

host: string

Host or IP of the proxy (e.g. proxy.example.com, 1.2.3.4)

password?: string

Proxy authorization password, if needed

port: number

Port of the proxy (e.g. 8888)

user?: string

Proxy authorization username, if needed

version?: 4 | 5

Version of the SOCKS proxy (4 or 5)

5