Skip to content

Commit

Permalink
Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dskvr committed Dec 2, 2014
1 parent 711f481 commit d4e887b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions driver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ The API can be accessed via REST of Websockets for bi-directional communication.

#### Grid

* 'get grid' - get master grid

### example

```socket.emit('create channel', 'My Channel', 'sparkle', { period: 450 })```

### Events

#### Sources
Expand All @@ -87,11 +93,13 @@ The API can be accessed via REST of Websockets for bi-directional communication.

#### Grid

* 'get grid' - get master grid
* 'refresh grid' - returns grid object

### example

```socket.emit('create channel', 'My Channel', 'sparkle', { period: 450 })```
```socket.on('refresh channels', function(channels){
alert(channels.length);
})```
# Objects
Expand Down

0 comments on commit d4e887b

Please sign in to comment.