Current version: 0.1.0
$ npm install @sadava/websockets
const WebSockets = require("@sadava/websockets");
See more in demo/
folder.
properties["host"] {string} IP address of the host
properties["port"] {integer}
properties["backlog"] {integer} Maximum allowed concurrent connections
In case server was able to successfully listen on port - callback will take null
as first argument. Otherwise will take an Error
with error number of an error.
v0.1.0:
- Initial release