通过socket.io的聊天室
turing-chatroom-bus的Python项目详细描述
响应
成功
{"_uid":<Theidoftherequest>,"success":<trueorfalse>,"error":<[Optional]errormessage>}
寄存器
客户端
{"_uid":<uuid>,"path":<clientpath>}
rpc
rpc请求
{"_uid":<uuid>,"path":<targetpath>,"payload":{"id":<RPCrequestid>,"method":<methodname>,"parameters":<parameters>}}
rpc响应
{"_uid":<uuid>,"path":<RPCrequestsourcepath>,"payload":{"id":<RPCrequestid>,"result":<RPCresult>,"error":<errormessage>}}