diff --git a/api/@ohos.net.connection.d.ts b/api/@ohos.net.connection.d.ts index 84576eeee742051a4a1807706e0eb3e49fe14f02..6ec77dc8a8b6d10d2a11623376955d441b933dec 100644 --- a/api/@ohos.net.connection.d.ts +++ b/api/@ohos.net.connection.d.ts @@ -22,6 +22,7 @@ import socket from "./@ohos.net.socket"; * * @since 8 * @syscap SystemCapability.Communication.NetManager.Core + * @throws 9+ {BusinessError} -1 - parse param failed */ declare namespace connection { type HttpRequest = http.HttpRequest; diff --git a/api/@ohos.net.http.d.ts b/api/@ohos.net.http.d.ts index ce56e5554957fe12ba729defb9f8c3e8ae6abfaa..de18b33e1ef4a03925d36aab05eb033c7f5f1394 100644 --- a/api/@ohos.net.http.d.ts +++ b/api/@ohos.net.http.d.ts @@ -20,6 +20,7 @@ import {AsyncCallback, Callback} from "./basic"; * * @since 6 * @syscap SystemCapability.Communication.NetStack + * @throws 9+ {BusinessError} -1 - parse param failed */ declare namespace http { /** diff --git a/api/@ohos.net.socket.d.ts b/api/@ohos.net.socket.d.ts index 3fcdd5c8f99714b285935773210c22b68e1fa585..3437d8c1c4d6bcb96113a3e4f31f41c4a61cb2ce 100644 --- a/api/@ohos.net.socket.d.ts +++ b/api/@ohos.net.socket.d.ts @@ -22,6 +22,7 @@ import cryptoFramework from "./@ohos.security.cryptoFramework"; * * @since 7 * @syscap SystemCapability.Communication.NetStack + * @throws 9+ {BusinessError} -1 - parse param failed */ declare namespace socket { export import NetAddress = connection.NetAddress; diff --git a/api/@ohos.net.webSocket.d.ts b/api/@ohos.net.webSocket.d.ts index cbb967bee4a57a447048c9ab4d135df7a8da7385..53b24ac2e11c6a41ef91a93fc47d8c66756b3154 100644 --- a/api/@ohos.net.webSocket.d.ts +++ b/api/@ohos.net.webSocket.d.ts @@ -20,6 +20,7 @@ import {AsyncCallback, ErrorCallback} from "./basic"; * * @since 6 * @syscap SystemCapability.Communication.NetStack + * @throws 9+ {BusinessError} -1 - parse param failed */ declare namespace webSocket { /**