From 9f6cbbdf9d4708ac34cf009314c5e41721a0cbd2 Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Sun, 23 May 2021 11:08:40 +0800 Subject: [PATCH] chore: add desc of test with cli in readme --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 592266a..ff20c96 100644 --- a/README.md +++ b/README.md @@ -61,4 +61,12 @@ Send room peer message: "peerId": "", "data": "" } +``` + +Test with command line: +> WebSocket cat: https://www.npmjs.com/package/wscat + +Install `wscat` with `npm`: +```shell +npm install -g wscat ``` \ No newline at end of file