From 2ad1d94d2f7d486869f469a257cb25dc82fccf25 Mon Sep 17 00:00:00 2001 From: 177******89 <15913799+lpycmd@user.noreply.gitee.com> Date: Mon, 4 Aug 2025 12:11:41 +0000 Subject: [PATCH] update interfaces/kits/js/@ohos.net.webSocket.d.ts. Signed-off-by: 177******89 <15913799+lpycmd@user.noreply.gitee.com> --- interfaces/kits/js/@ohos.net.webSocket.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/interfaces/kits/js/@ohos.net.webSocket.d.ts b/interfaces/kits/js/@ohos.net.webSocket.d.ts index 26af71eb5..892b4eaa5 100644 --- a/interfaces/kits/js/@ohos.net.webSocket.d.ts +++ b/interfaces/kits/js/@ohos.net.webSocket.d.ts @@ -171,6 +171,14 @@ declare namespace webSocket { * @since 12 */ protocol?: string; + + /** + * Self defined pingPongTime. + * @type {?number} + * @syscap SystemCapability.Communication.NetStack + * @since 12 + */ + pingPongTime?: number; } /** -- Gitee