Skip to content

Persistent Data

jbyuki edited this page Jan 4, 2021 · 1 revision

Persistent Data

By design, the server doesn't store any data. It only acts as a broadcaster. To still have persistent data, it's possible to use a dummy client which will only keep the data.

The files for the dummy client are provided in server/.

It should be deployed in a different web application and connect to the server.

Its arguments are:

node dummy_client.js [SHARE_TYPE] [HOST] (PORT)
  • SHARE_TYPE : single or session
  • HOST : Websocket URL address (for ex: ws://127.0.0.1)
  • PORT : Defaults to 80
Clone this wiki locally