https://github.com/stagas/websocket
thin layer on top of websockets with reconnection
https://github.com/stagas/websocket
Last synced: 3 months ago
JSON representation
thin layer on top of websockets with reconnection
- Host: GitHub
- URL: https://github.com/stagas/websocket
- Owner: stagas
- Created: 2013-05-18T08:12:55.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-05-18T13:52:13.000Z (about 12 years ago)
- Last Synced: 2025-03-25T11:21:51.849Z (4 months ago)
- Language: JavaScript
- Size: 109 KB
- Stars: 13
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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