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

Method cmd

plugins/ContentFilter/media/js/ZeroFrame.js:68–73  ·  view source on GitHub ↗
(cmd, params={}, cb=null)

Source from the content-addressed store, hash-verified

66 }
67
68 cmd(cmd, params={}, cb=null) {
69 this.send({
70 cmd: cmd,
71 params: params
72 }, cb)
73 }
74
75 cmdp(cmd, params={}) {
76 return new Promise((resolve, reject) => {

Callers 15

connectMethod · 0.95
onMessageMethod · 0.95
cmdpMethod · 0.95
monkeyPatchAjaxMethod · 0.95
actionMuteAddMethod · 0.45
actionMuteRemoveMethod · 0.45
actionCorsPermissionMethod · 0.45
all.jsFile · 0.45
actionUserLogoutMethod · 0.45
actionUserLoginFormMethod · 0.45

Calls 1

sendMethod · 0.95

Tested by

no test coverage detected