Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/stagas/websocket
- Owner: stagas
- Created: 2013-05-18T08:12:55.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-05-18T13:52:13.000Z (over 11 years ago)
- Last Synced: 2024-04-08T15:45:42.064Z (7 months ago)
- Language: JavaScript
- Size: 109 KB
- Stars: 13
- Watchers: 4
- 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