wspp-stream

Duplex stream on wspp websocket

Usage no npm install needed!

<script type="module">
  import wsppStream from 'https://cdn.skypack.dev/wspp-stream';
</script>

README

wspp-stream

Wrap duplex stream on wspp websocket

usage

  • create wspp websocket, like var ws = new WebSocket(...)

  • then, wrap stream on wspp websocket, like var wstream = new Stream(ws)

License

(The MIT License)

Copyright (c) 2015 tom zhou;iwebpp@gmail.com;