MCPcopy
hub / github.com/HelloZeroNet/ZeroNet / request

Method request

src/Tor/TorManager.py:239–246  ·  view source on GitHub ↗
(self, cmd)

Source from the content-addressed store, hash-verified

237 return False
238
239 def request(self, cmd):
240 with self.lock:
241 if not self.enabled:
242 return False
243 if not self.conn:
244 if not self.connect():
245 return ""
246 return self.send(cmd)
247
248 def send(self, cmd, conn=None):
249 if not conn:

Callers 9

startTorMethod · 0.95
stopTorMethod · 0.95
resetCircuitsMethod · 0.95
makeOnionAndKeyMethod · 0.95
delOnionMethod · 0.95
testManagerConnectionMethod · 0.45
testConnectionMethod · 0.45
testGetFileMethod · 0.45
testStreamFileMethod · 0.45

Calls 2

connectMethod · 0.95
sendMethod · 0.95

Tested by 4

testManagerConnectionMethod · 0.36
testConnectionMethod · 0.36
testGetFileMethod · 0.36
testStreamFileMethod · 0.36