- ws客戶端發起連接,地址為ws://服務器地址:端口/


- 登陸后的uid分別為948與863
- 現在948像863發送一條點對點消息:{"event":"point","data":{"to":863,"content":"來自863的ws消息"}},響應如下:


- 使用api給948發送一條消息:服務器地址:端口?to=948&msg=apimsg&uid=863

- 發送一條ping消息:{"event":"ping","data":""}

- 更多事件請自行開發,這里僅為基礎樣例