topl-service / io.matthewnelson.topl_service / TorServiceController / startTor
startTor¶
@JvmStatic fun startTor():
Unit
(source)
This method will never throw the RuntimeException if you call it after Builder.build.
Starts TorService and then Tor. You can call this as much as you want. If the Tor Process is already running, it will do nothing.
Exceptions¶
RuntimeException
- if called before Builder.build