这是无 UI 版本的 demo,接口覆盖全面
请在浏览器「控制台」中查看 log 信息,也可以在浏览器中直接调用相关代码。
SDK 详细使用方法,请看官方文档
https://leancloud.cn/docs/js_realtime.html