Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stagas/websocket

thin layer on top of websockets with reconnection
https://github.com/stagas/websocket

Last synced: 13 days ago
JSON representation

thin layer on top of websockets with reconnection

Awesome Lists containing this project

README

        

# websocket

thin layer on top of websockets

## Example

```js
var websocket = require('websocket');

var ws = websocket();

ws.on('message', function(msg){
console.log(msg.data);
});

ws.on('open', function(){
ws.send('hello there');
});
```

## License

MIT