kraih/mojo — Issue #256: Broadcast method for Websockets
Author: reezer
Created: 2011-12-25 14:40:50+00:00
State: open

A broadcast method in `Mojo::Transaction::WebSocket` would provide a simple interface for solving a frequent problem - sending a message to all conencted clients. The [websocket chat sample](https://github.com/kraih/mojo/wiki/Writing-websocket-chat-using-Mojolicious-Lite) wouldn't require the declaration of a clients hash nor the for-loop iterating through it.