hapijs/tv — pull request #91 by createbang (2014-12-03 22:07:00+00:00)
Title: Subscribe/unsubscribe to websocket messages

This is a non-breaking change to the existing API for subscribing to websocket messages from `Tv`. The additional functionality surfaces a three-pronged API for subscribing to websocket messages.

```js
ws.send('*') // subscribes the socket connection to all messages
ws.send('subscribe:*') // subscribes the socket connection to all messages
ws.send('unsubscribe:*') // unsubscribes the socket connection from all messages
```

This is a future-proof API for allowing multiple, varying message groups for the same socket connection, as well as allows for a true "pause" state, where messages are not sent down.

Tests are updated.