Proxy host (hostname or IP)
OptionalportProxy port (default: 1080)
OptionalusernameUsername for USERNAME/PASSWORD auth
OptionalpasswordPassword for USERNAME/PASSWORD auth
OptionalremoteIf true, send the domain name to the proxy for remote DNS resolution (SOCKS5h behaviour). Default: true.
OptionalconnectConnection timeout to the proxy in ms (default: 10_000)
OptionalhandshakePer-read timeout during handshake in ms (default: 10_000)
OptionalmaxNumber of retry attempts on transient failures (default: 2)
OptionalretryBase delay between retries in ms (default: 300)
Connection parameters for a SOCKS5 proxy server.
Supports optional username/password authentication, remote DNS, and configurable timeouts with retry.