From 2573cfd533432c222cdf6ffdd339abc964e8edd0 Mon Sep 17 00:00:00 2001 From: chenruilong Date: Mon, 24 Jun 2024 21:24:41 +0800 Subject: [PATCH] update: websocket.md --- docs/websocket.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/websocket.md b/docs/websocket.md index d2d8f49..758e9ee 100644 --- a/docs/websocket.md +++ b/docs/websocket.md @@ -157,7 +157,7 @@ module.exports = { 返回值: `WebSocketServer` -### +### WebSocketServer.send@uniCloud.ws.send > > 从云函数/云对象中像客户端发送消息 @@ -200,7 +200,7 @@ exports.onWebsocketMessage = async function (event) { ``` -### +### WebSocketServer.close@uniCloud.ws.close > > 在云函数/云对象中关闭连接 @@ -234,7 +234,7 @@ exports.onWebsocketMessage = async function (event) { ``` -### +### WebSocketServer.signedURL@uniCloud.ws.signedURL > > 在云函数/云对象中生成WebSocket连接地址 -- GitLab