Package Exports
- simple-websocket-server
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 (simple-websocket-server) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
simple-websocket-server
WebSockets server that mimics the Node.js
net
module API, yielding duplex streams instead of the 'onmessage/send' WebSockets API. Compatible with simple-websocket (https://github.com/feross/simple-websocket)
features
- goes really well with
simple-websocket
- supports text and binary data
- node.js duplex stream interface
Usage
Install
> npm install simple-websocket-server
Usage Example
API