Skip to content

isTorAvailable()

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / isTorAvailable

isTorAvailable(port?, host?, timeout?): Promise<boolean>

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16899

Check if Tor is available on a specific port

number

Port to check

string

Host to check (default: 127.0.0.1)

number

Connection timeout in ms

Promise<boolean>

True if Tor is responding