Control
A DSL builder scope for TorOption.__ControlPort and TorOption.ControlPort. Because kmp-tor
is built entirely around tor's control connection APIs, disable is made unavailable and the argument is always initialized with a value of auto.
If utilizing kmp-tor:runtime
, TorOption.__ControlPort will always be added if not already present.
Properties
The argument string for this BuilderScope, the result of which is used as the LineItem.argument. Is initialized with whatever TorOption.default is.
The TorOption being configured for this BuilderScope.
Functions
Adds isolation flags to the TorSetting.LineItem.optionals of this builder result.
Adds socks flags to the TorSetting.LineItem.optionals of this builder result.
Adds unix flags to the TorSetting.LineItem.optionals of this builder result.
Sets the argument to the specified port.
In the event a configured Port is unavailable on the host device, tor will fail to start.
For a TorOption which can be configured to use Unix Sockets, containing the attribute TorOption.Attribute.UNIX_SOCKET.