1.0.2 • Published 8 months 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 snapsocket
const 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
public
property is added to the server