UtopicTorOnionProxy class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
isTorRunning()
→ Future<bool?>
-
Checks to see if the Tor OP is running (e.g. fully bootstrapped) and open to network connections.
-
startTor()
→ Future<int?>
-
This is a blocking call that will try to start the Tor OP, connect it to the network and get it to be fully bootstrapped.
Sometimes the bootstrap process just hangs for no apparent reason so the method will wait for a minute for bootstrap to finish.
Returns the socks port on the IPv4 localhost address that the Tor OP is listening on.
-
stopTor()
→ Future<bool?>
-
Kills the Tor OP Process. Once you have called this method nothing is going to work until you either call startTor.