Skip to content

Commit

Permalink
Update 02_WebSocket_APIs.md
Browse files Browse the repository at this point in the history
The current example was broken.
  • Loading branch information
gotling authored Oct 10, 2016
1 parent 0bc9952 commit 0d1bf0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/02_API/02_WebSocket_APIs.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ A good policy for sending data on emits is to configure them as objects: they're
So our message can be:

```js
io.emit('setVolume',{volume:30,mute=false}
io.emit('addToPlaylist', {"name": "Music", "service": "mpd", "uri": "music-library/..."});
```
## Events Documentation

Expand Down

0 comments on commit 0d1bf0c

Please sign in to comment.