|
楼主 |
发表于 2013-1-22 21:35:47
|
显示全部楼层
来自 中国–四川–遂宁
4681821 发表于 2013-1-22 21:33
接口最好还能提供 “启动” “停止” 等操作
chrome 已经不报风险了,接口有的。- Key: event
- Value: delete 删除 / close 关闭进程并停止监视 / start 开启监视 / restart 重启 / pause 暂停监视
- Key: index
- Value: 整形索引编号
- 例:
- {"event":" delete "," index ":"1"}
- {"event":" close "," index ":" 1"}
- {"event":"start "," index ":" 1"}
- {"event":"restart "," index ":" 1"}
- {"event":" pause"," index ":" 1"}
复制代码 |
|