Answer the question
In order to leave comments, you need to log in
How to isolate chat on socket io?
Imagine - we have an application with a large number of chats, private messages, group chats (+ there is authorization in the application).
We need to track the message input and send event and display it all on the receiving side of the client.
How to organize data exchange between clients from the server side in order to ensure the isolation of messages within a certain group of people so that the message does not get into someone else's chat if someone connects to the endpoint (taking into account authorization and tokens)? Need advice on organizing this kind of application from the server side (preferably using a node as an example).
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question