Pithikos / python-websocket-server

A simple fully working websocket-server in Python with no external dependencies
MIT License
1.14k stars 384 forks source link

How to multicast message ? #101

Open codeilm opened 2 years ago

codeilm commented 2 years ago
  1. Right now we have feature to unicast (i.e. sending message to a single specified client) with the help of server.send_message(client,message)
  2. Right now we also have feature to broadcast(i.e. sending message to all client) with the help of server.send_message_to_all(message)

But, How to multicast message (i.e. Sending message to multiple clients [not all clients]) ?

could you provider something like this server.multicast(clients_list,message)