Package Exports
- websocket-ts
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (websocket-ts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
websocket-ts
A client-websocket written in TypeScript to be used from within browsers with focus on simplicity, reliability and extensibility. It provides convenient features to automatically reconnect and buffer pending messages.
Features
- Dependency-free & small in size
- Uses the browser-native WebSocket-functionality
- Copies the event-based WebSocket-API
- Provides low-level access to the underlying WebSocket if needed
- Optional automatic reconnects
- With easy-to-configure parameters (time between retries)
- Optional pending-messages
- With easy-to-configure buffers (size, behaviour)
- Builder-class for easy initialization and configuration