Skip to content

stagas/websocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

websocket

thin layer on top of websockets

Example

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

About

thin layer on top of websockets with reconnection

Resources

Stars

Watchers

Forks

Packages

No packages published