websocket文档中dataEnd接口关于可选参数callback的描述修复

Signed-off-by: wulimm <hanjing5@huawei.com>
This commit is contained in:
wulimm 2023-12-25 08:58:36 +00:00 committed by Gitee
parent b7f4aab2b1
commit 9bf8159880
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -727,7 +727,7 @@ declare namespace webSocket {
/**
* Cancels listening for receiving data ends events of a WebSocket connection.
* @param { 'dataEnd' } type - event indicating the WebSocket connection has received data ends.
* @param { Callback<void> } callback - the callback used to return the result.
* @param { Callback<void> } [ callback ] - the callback used to return the result.
* @syscap SystemCapability.Communication.NetStack
* @since 11
*/