Files
sync-server-example/readme.md
2026-08-03 09:21:32 +00:00

21 lines
363 B
Markdown

# 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 client
- `testWS()` - Example using the WebSocket client
To run the examples, you can use the following command:
```
npm run start
```