(require("kadence/onion"))(node, optionsopt)

Registers a OnionPlugin with an AbstractNode

Parameters:
NameTypeAttributesDescription
nodeobject
optionsobject<optional>
Properties
NameTypeAttributesDescription
dataDirectorystring<optional>

Write hidden service data

virtualPortnumber<optional>

Virtual hidden service port

localMappingstring<optional>

IP/Port string of target service

torrcEntriesobject<optional>

Additional torrc entries

passthroughLoggingEnabledboolean<optional>

Passthrough tor log

Classes

OnionPlugin