Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 514 Bytes

README.MD

File metadata and controls

19 lines (14 loc) · 514 Bytes

Native WebSocket demo for Node.js Server and Browser Client

Description

  • a very basic demo that leverages simple Websocket APIs to send/receive Strings, JSON and ArrayBuffers
  • provides a skeleton for using as a base for an application

Requirements

  • Node.js
  • TypeScript compiler (tsc)
  • Modern Browser

Run Server

npm install && npm start

Open Client

  • navigate to localhost:3000 to open the Browser test client

TODO

  • convert to npm library/package for easy importing into applications