Types

Link copied to clipboard
abstract class BuilderScope

A DSL builder scope for creating TorConfig.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@JvmField
val settings: Set<TorSetting>

All TorSetting which make up this configuration.

Functions

Link copied to clipboard
@JvmStatic
inline fun <A : TorOption.Attribute> Iterable<TorSetting>.filterByAttribute(): List<TorSetting>

Returns a list containing all elements of TorSetting within the Iterable which contain a LineItem, and is configured for, attribute A.

Link copied to clipboard
@JvmStatic
inline fun <O : TorOption> Iterable<TorSetting>.filterByOption(): List<TorSetting>

Returns a list containing all elements of TorSetting within the Iterable which contain a LineItem for option O.

Link copied to clipboard
open operator override fun iterator(): Iterator<TorSetting>