Methods

(static) ADD_ONION(output) → {AddOnionResult}

Parameters:
NameTypeDescription
outputArray.<string>
Returns:
Type: 
AddOnionResult

(static) AUTHCHALLENGE(output) → {AuthChallengeResult}

Parameters:
NameTypeDescription
outputArray.<string>
Returns:
Type: 
AuthChallengeResult

(static) GETCONF(output) → {GetConfigResult}

Parameters:
NameTypeDescription
outputArray.<string>
Returns:
Type: 
GetConfigResult

(static) GETINFO(output) → {string}

Parameters:
NameTypeDescription
outputArray.<string>
Returns:
Type: 
string

(static) PROTOCOLINFO(output) → {ProtocolInfoResult}

Parameters:
NameTypeDescription
outputArray.<string>
Returns:
Type: 
ProtocolInfoResult

Type Definitions

AddOnionResult

Type:
  • object
Properties
NameTypeAttributesDescription
serviceIdstring

The hidden service url without .onion

privateKeystring<optional>

The generated private key

AuthChallengeResult

Type:
  • object
Properties
NameTypeDescription
hashstring

The server hash

noncestring

The server nonce

GetConfigResult

Type:
  • Array.<string>

ProtocolInfoResult

Type:
  • object
Properties
NameTypeDescription
protocolstring
authobject
Properties
NameTypeDescription
methodsArray.<string>
cookieFilestring
versionobject
Properties
NameTypeDescription
torstring