【发布时间】:2016-01-03 02:55:09
【问题描述】:
有没有办法使用 socket.io 跟踪外部站点?所以每当网站发生变化时,它会自动向我的服务器发送一个事件?
例如:
socket.on("newconnectionfromxxxxxxxxxxxxxxx", function (websiteChange) { //websiteChange would be the contents of the updated website.
});
对不起,如果这个问题很明显,因为我在网上找不到任何东西。
编辑:我要跟踪的网站是一个 JSON 文件。
【问题讨论】:
标签: json node.js websocket socket.io