diff --git a/interfaces/kits/js/@ohos.net.webSocket.d.ts b/interfaces/kits/js/@ohos.net.webSocket.d.ts index 26af71eb57657a60c29c10f49e7e4a6dff160ebc..892b4eaa555d85efa49e0cf9289da09f50f084c8 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; } /**