ping-a-monitor:每x秒对XYZ网站执行一次ping操作(对于不和谐的ping是ping操作)?

时间:2021-02-10 18:00:16
【文件属性】:
文件名称:ping-a-monitor:每x秒对XYZ网站执行一次ping操作(对于不和谐的ping是ping操作)?
文件大小:2KB
文件格式:ZIP
更新时间:2021-02-10 18:00:16
JavaScript ping显示器 每隔x秒钟对XYZ网站进行ping操作(如果不兼容,是否要ping通?)。 如何使用它: require('pingmonitor')('https:ping.that/u/r.l', intervalInMs, () => ping, { sendInQuery: false, sendInJSON: true, sendAtStart: true }); 这段代码使用对象{ ping: number }每间隔https:ping.that/u/rl毫秒ping https:ping.that/u/rl 。 将sendInQuery: true设置sendInQuery: true可以以https:ping.that/u/rl?ping=ping形式ping url(而不是作为JSON发送)。 如果sendInJSON不正确,则ping将通过text发送。 容易
【文件预览】:
ping-a-monitor-master
----index.js(903B)
----package.json(698B)
----.gitignore(13B)
----README.md(601B)

网友评论