Private messaging using sockjs-tornado

后端 未结 2 1125
星月不相逢
星月不相逢 2020-12-19 22:35

I have implemented chat feature using sockjs-tornado and could store the messages in RethinkDB.

Could you please help me on how do I establish private channel for me

2条回答
  •  星月不相逢
    2020-12-19 23:12

    Although sockjs-tornado does not implement such a thing like channels, nor rooms, there is example multiplex how one could implement that. Also look at sockjs - example of implementing rooms. Solution is based on structured msg - within message you additional info is sent - channel name.

提交回复
热议问题