From 1c70a53e42facf63facafff7f887b94137bdc7e7 Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 12 Jun 2023 06:04:55 +0200 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 64c0604..d866a92 100644 --- a/README.md +++ b/README.md @@ -49,9 +49,9 @@ live.on('live', () => { (Keep)LiveWS 和 (Keep)LiveTCP 的大部分API基本上一样, 区别在本文末尾有注明 -### new LiveWS(roomid [, { address, protover, key }]) +### new LiveWS(roomid [, { address, protover, key, authBody }]) -### new LiveTCP(roomid [, { host, port, protover, key }]) +### new LiveTCP(roomid [, { host, port, protover, key, authBody }]) - `roomid` 房间号