AsyncMethod
This is a method of the GatewayProtocol class in the protocols module.Broadcast an event to all connected clients.
Signature
Parameters
The event to broadcast
Optional list of client IDs to exclude
broadcast: Broadcast an event to all connected clients.
This is a method of the GatewayProtocol class in the protocols module.Broadcast an event to all connected clients.
async def broadcast(event: GatewayEvent, exclude: Optional[List[str]]) -> None