-
Notifications
You must be signed in to change notification settings - Fork 20
Persistent Data
jbyuki edited this page Jan 4, 2021
·
1 revision
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
orsession
-
HOST : Websocket URL address (for ex:
ws://127.0.0.1
) - PORT : Defaults to 80