websocket if you want to broadcast messages to all connected clients, you can use the following code { type: "all", data: Data } just change type to "all", and "same"