Skip to content

Native WebSocket demo for Node.js Server and Browser Client

Notifications You must be signed in to change notification settings

sscholle/simple-websocket

Repository files navigation

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

About

Native WebSocket demo for Node.js Server and Browser Client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published