/ws-multisocket

WS/S Multisocket with mesh partitioning over single HTTP/S server

Primary LanguageJavaScript

mozilla-builders

WSS MultiSocket

Single HTTP/S server providing multiple ephemeral WebSocket instances with path based routing and mesh isolation.

Configuration

  • requires a valid set of SSL/TLS certificates (letsencrypt)

Installation

npm install

Usage

npm

Explode your ENV variables manually and launch using npm:

PORT=443 SSLKEY=/path/to/privkey.pem SSLCERT=/path/to/fullchain.pem npm start

pm2

Configure the options in multisocket.config.js and launch using pm2:

pm2 start multisocket.config.js
Credits

This project is a component of Gun Meething powered by GunDB