Skip to content

ofirattia/ws-reconnect-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ws-reconnect-js: a Node.js WebSocket Client

This lib designed for web applications and compatible with webpack bundling.

Usage

const WSCLINET = require('ws-reconnect-js');
var wsclient = new WSCLIENT("localhost:1010",{
	retryCount:1, // default is 2
	reconnectInterval: 1 // default is 5
},{
onMessageHandler: handlerFunction
});
wsclient.start();

About

websocket client for web js apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published