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

Method response

src/Ui/UiWebsocket.py:151–152  ·  view source on GitHub ↗
(self, to, result)

Source from the content-addressed store, hash-verified

149
150 # Send response to client (to = message.id)
151 def response(self, to, result):
152 self.send({"cmd": "response", "to": to, "result": result})
153
154 # Send a command
155 def cmd(self, cmd, params={}, cb=None):

Callers 15

asyncErrorWatcherMethod · 0.95
handleRequestMethod · 0.95
actionAsMethod · 0.95
actionPingMethod · 0.95
actionSiteInfoMethod · 0.95
actionChannelJoinMethod · 0.95
actionServerInfoMethod · 0.95
actionAnnouncerInfoMethod · 0.95
actionSiteSignMethod · 0.95
actionSitePublishMethod · 0.95
cbSitePublishMethod · 0.95

Calls 1

sendMethod · 0.95

Tested by

no test coverage detected