我搜索了很多,但找不到一个具体的例子来说明如何在浏览器中通过websocket ()使用javascript发送ping。有人告诉我,我使用的服务器将回复ping,但我已经尝试了以下主题的变体,但没有成功。// ... code that attaches sockets to this object
console.log("about to send pings to", key)}
_resolveFilename (module.js:338:15) at Function.Module.runMain (module.js:497:10)
at startup (node.js:119/client/**/*.js', '.('build', ['set-prod-env',
/node_modules/web3/types.d.ts(1,27): error TS7016: Could not find a declaration file for module 'bn.js'/Users/maxblock/node_modules/bn.js/lib/bn.js' implicitly has an 'any' type.module 'bn.