MCPcopy Index your code
hub / github.com/HelloZeroNet/ZeroNet / messageWebsocket

Method messageWebsocket

src/Site/Site.py:1046–1051  ·  view source on GitHub ↗
(self, message, type="info", progress=None)

Source from the content-addressed store, hash-verified

1044 ws.event("siteChanged", self, param)
1045
1046 def messageWebsocket(self, message, type="info", progress=None):
1047 for ws in self.websockets:
1048 if progress is None:
1049 ws.cmd("notification", [type, message])
1050 else:
1051 ws.cmd("progress", [type, message, progress])
1052
1053 # File download started
1054 @util.Noparallel(blocking=False)

Callers 1

rebuildDbMethod · 0.80

Calls 1

cmdMethod · 0.45

Tested by 1

rebuildDbMethod · 0.64