Skip to content

Socks5hTcpConnectOptions

Defined in: src/client/types.ts:88

Options for the Node-only tcpConnectSocks5h constructor.

optional connectTimeoutMs?: number;

Defined in: src/client/types.ts:90

One deadline for proxy TCP setup and the complete SOCKS5 negotiation. Default: 5000 ms.


optional externalLocation?: ExternalLocationConfig;

Defined in: src/client/types.ts:76

External storage config for resolving externalized batches.

TcpConnectOptions.externalLocation


optional onLog?: (msg) => void;

Defined in: src/client/types.ts:74

Callback invoked for each log/error message the server emits during a request.

Parameter Type
msg LogMessage

void

TcpConnectOptions.onLog


optional signal?: AbortSignal;

Defined in: src/client/types.ts:92

Cancels proxy setup and negotiation.