chore: add desc of test with cli in readme

This commit is contained in:
2021-05-23 11:08:40 +08:00
parent e22e368d38
commit 9f6cbbdf9d

View File

@@ -61,4 +61,12 @@ Send room peer message:
"peerId": "<peerclientid>",
"data": "<message>"
}
```
Test with command line:
> WebSocket cat: https://www.npmjs.com/package/wscat
Install `wscat` with `npm`:
```shell
npm install -g wscat
```