Skip to content

Commit

Permalink
another attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
outergod committed Aug 24, 2011
1 parent e515150 commit b847ce8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README
Expand Up @@ -5,6 +5,11 @@ web server. In effect, it can be used as a drop-in replacement for socket.io's
server part.


WARNING
-------
This is work in progress.


Installation
------------
hunchen.io is supported by and available through [asdf-install] and (soon)
Expand Down Expand Up @@ -82,6 +87,7 @@ hunchen.io:
```

TODO endpoints

```javascript
var chat = io
.of('/chat')
Expand All @@ -104,6 +110,7 @@ var news = io
```

TODO volatile

```javascript
io.sockets.on('connection', function (socket) {
var tweets = setInterval(function () {
Expand Down Expand Up @@ -132,6 +139,7 @@ io.sockets.on('connection', function (socket) {
```

TODO broadcasting

```javascript
io.sockets.on('connection', function (socket) {
socket.broadcast.emit('user connected');
Expand Down

0 comments on commit b847ce8

Please sign in to comment.