Sockette is a tiny (367 bytes) wrapper around WebSocket that will automatically reconnect if the connection is lost. In addition to attaching additional API methods, Sockette allows you to reuse instances, avoiding the need to redeclare all event listeners. You have direct access to the (current) underlying WebSocket within every EventListener callback.
Features
- Unlike WebSocket, you should declare all event listeners on initialization
- Either a single protocol string or an array of strings used to indicate sub-protocols
- License under the MIT license
- Sockette allows you to reuse instances, avoiding the need to redeclare all event listeners
- Sockette is a tiny (367 bytes) wrapper around WebSocket that will automatically reconnect if the connection is lost
- You have direct access to the (current) underlying WebSocket within every EventListener callback
Categories
WebSocket LibrariesLicense
MIT LicenseFollow Sockette
Other Useful Business Software
AestheticsPro Medical Spa Software
AestheticsPro is the most complete Aesthetics Software on the market today. HIPAA Cloud Compliant with electronic charting, integrated POS, targeted marketing and results driven reporting; AestheticsPro delivers the tools you need to manage your medical spa business. It is our mission To Provide an All-in-One Cutting Edge Software to the Aesthetics Industry.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Sockette!