Installation
git clone https://git.harvmaster.com/Harvmaster/sync-server-example.git
cd sync-server-example
npm ci
Running
There are 2 examples in the src/index.ts file.
testSSE()- Example using the SSE clienttestWS()- Example using the WebSocket client
To run the examples, you can use the following command:
npm run start
Description
Languages
TypeScript
100%