1.0.2 • Published 1 year ago
snapsocket v1.0.2
SnapSocket ➝
A SnapSocket is an extremely fast server that replies to text request with the shape command➝data. SnapSocket is designed for fast, low-latency communication between clients and servers.
Usage
npm i snapsocketconst ss = require('snapsocket')- TBD
Things to keep in mind
- WebSockets are used by default, if the request cannot be completed bya WS, HTTP(s) will be used
- SnapSocket does provide a small HTTP server for serving public files if the
publicproperty is added to the server