Let's see, I already had a running websocket server. How can I take the initiative to send a message to one of them?
Currently, I can only:
Wait a message from a client and make response, or
Make a broadcast so every client can receive the message.
But what I want is sending to a client its own message by some logic.
Anyone help, please.