How do you send a websocket server response (like a json blob) without receiving a message from the client.
For example, how would you make an actix webserver that sends a message to a connected client whenever it receives a message from an mpsc?
How do you send a websocket server response (like a json blob) without receiving a message from the client.
For example, how would you make an actix webserver that sends a message to a connected client whenever it receives a message from an mpsc?