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

Method cmd

src/Ui/UiWebsocket.py:155–156  ·  view source on GitHub ↗
(self, cmd, params={}, cb=None)

Source from the content-addressed store, hash-verified

153
154 # Send a command
155 def cmd(self, cmd, params={}, cb=None):
156 self.send({"cmd": cmd, "params": params}, cb)
157
158 # Encode to json and send message
159 def send(self, message, cb=None):

Callers 15

startMethod · 0.95
eventMethod · 0.95
asyncErrorWatcherMethod · 0.95
actionSiteSignMethod · 0.95
actionSitePublishMethod · 0.95
cbProgressMethod · 0.95
doSitePublishMethod · 0.95
cbSitePublishMethod · 0.95
actionFileWriteMethod · 0.95
actionCertAddMethod · 0.95
cbCertAddConfirmMethod · 0.95
actionCertSelectMethod · 0.95

Calls 1

sendMethod · 0.95

Tested by

no test coverage detected