ConfigCallback
A Callback for configuring TorConfig.BuilderScope.
e.g.
ConfigCallback { environment ->
TorOption.__SocksPort.configure { auto() }
TorOption.ClientOnionAuthDir.configure(directory =
environment.workDirectory
.resolve("auth_private_files")
)
// ...
}
Content copied to clipboard
See also
Inheritors
Types
Link copied to clipboard
After all ConfigCallback for TorRuntime.BuilderScope.config have been applied, defaults are then configured in order to ensure minimum settings required for TorRuntime are had.