The maintainers of SockJS and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open-source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. SockJS is a JavaScript library (for browsers) that provides a WebSocket-like object. SockJS gives you a coherent, cross-browser, Javascript API which creates a low latency, full duplex, cross-domain communication channel between the browser and the web server, with WebSockets or without. This necessitates the use of a server, which this is one version of, for Node.js.
Features
- The API design is based on common Node APIs like the Streams API or the Http.Server API
- SockJS module is generating a Server class, similar to Node.js http.createServer module
- Once you have create Server instance you can hook it to the http.Server instance
- A fully working echo server does need a bit more boilerplate (to handle requests unanswered by SockJS)
- WebSocket compatible load balancer
- SockJS-client Karma tests
Categories
WebSocket ServersLicense
MIT LicenseFollow SockJS-node
Other Useful Business Software
Build Securely on AWS with Proven Frameworks
Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of SockJS-node!