diff --git a/api/@ohos.net.connection.d.ts b/api/@ohos.net.connection.d.ts index c22c3077fb88a19549453dd1e35ecd39c7698235..e4c740eee4b44f43697ef3152a1d145c89e27b79 100644 --- a/api/@ohos.net.connection.d.ts +++ b/api/@ohos.net.connection.d.ts @@ -75,6 +75,7 @@ declare namespace connection { * @typedef { socket.TCPSocket } * @syscap SystemCapability.Communication.NetStack * @crossplatform + * @atomicservice * @since 10 */ type TCPSocket = socket.TCPSocket; @@ -89,6 +90,7 @@ declare namespace connection { * @typedef { socket.UDPSocket } * @syscap SystemCapability.Communication.NetStack * @crossplatform + * @atomicservice * @since 10 */ type UDPSocket = socket.UDPSocket; @@ -1679,6 +1681,7 @@ declare namespace connection { * Indicates that the network is based on a bluetooth network. * @syscap SystemCapability.Communication.NetManager.Core * @crossplatform + * @atomicservice * @since 12 */ BEARER_BLUETOOTH = 2, diff --git a/api/@ohos.net.webSocket.d.ts b/api/@ohos.net.webSocket.d.ts index 30729c55393cef1d920903fd1ff30cff03c0bc15..226c2f3a2181c521ef1a7b4bdc358b9910c608e2 100644 --- a/api/@ohos.net.webSocket.d.ts +++ b/api/@ohos.net.webSocket.d.ts @@ -45,7 +45,7 @@ import type connection from './@ohos.net.connection'; declare namespace webSocket { /** * @typedef { connection.HttpProxy } - * @syscap SystemCapability.Communication.NetManager.Core + * @syscap SystemCapability.Communication.NetStack.Core * @since 12 */ type HttpProxy = connection.HttpProxy;