I have a doubt about a application using websocket.
I have a application in which many threads can send a message to a specific connection. To send message is a thread safe function or not? In the case is not thread safe you suggest to use a queue or to use a synchronized on the connection object?