DNS
A DSL builder scope for TorOption.__DNSPort and TorOption.DNSPort.
Properties
Link copied to clipboard
The argument string for this BuilderScope, the result of which is used as the LineItem.argument. Is initialized with whatever TorOption.default is.
Link copied to clipboard
The TorOption being configured for this BuilderScope.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun flagsIsolation(block: ThisBlock<BuilderScopePort.FlagsBuilderIsolation>): BuilderScopePort.DNS
Adds isolation flags to the TorSetting.LineItem.optionals of this builder result.
Link copied to clipboard
protected open fun flagsSocks(block: ThisBlock<BuilderScopePort.FlagsBuilderSocks>): BuilderScopePort
Adds socks flags to the TorSetting.LineItem.optionals of this builder result.
Link copied to clipboard
Adds unix flags to the TorSetting.LineItem.optionals of this builder result.
Link copied to clipboard
Sets the argument to the specified port.
Link copied to clipboard
In the event a configured Port is unavailable on the host device, tor will fail to start.
Link copied to clipboard
For a TorOption which can be configured to use Unix Sockets, containing the attribute TorOption.Attribute.UNIX_SOCKET.