NetworkPrivacyConfig
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / NetworkPrivacyConfig
Interface: NetworkPrivacyConfig
Section titled “Interface: NetworkPrivacyConfig”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16991
Network privacy configuration for SDK clients
Properties
Section titled “Properties”proxy?
Section titled “proxy?”
optionalproxy:ProxyConfig
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17000
Proxy configuration
'tor': Auto-detect local Tor'socks5://...': SOCKS5 proxy'http://...': HTTP proxyundefined: Direct connection
rotateCircuit?
Section titled “rotateCircuit?”
optionalrotateCircuit:boolean
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17008
Rotate Tor circuit per request
Requires Tor control port. Provides unlinkability between requests.
Default
Section titled “Default”falsetorControlPort?
Section titled “torControlPort?”
optionaltorControlPort:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17014
Tor control port for circuit rotation
Default
Section titled “Default”9051torControlPassword?
Section titled “torControlPassword?”
optionaltorControlPassword:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17020
Tor control password
Required for rotateCircuit if Tor is configured with password authentication.
timeout?
Section titled “timeout?”
optionaltimeout:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17026
Connection timeout in milliseconds
Default
Section titled “Default”30000fallbackToDirect?
Section titled “fallbackToDirect?”
optionalfallbackToDirect:boolean
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:17035
Fallback to direct connection if proxy unavailable
If true, will use direct connection when proxy fails. If false, will throw error when proxy fails.
Default
Section titled “Default”false