diff --git a/api/@ohos.net.http.d.ts b/api/@ohos.net.http.d.ts index 7656c2864ec542077779c89f3b05bb7257d68a62..20cdfa0c3c8dcf6d1bc3799a00dfa4e019f76fdd 100644 --- a/api/@ohos.net.http.d.ts +++ b/api/@ohos.net.http.d.ts @@ -306,12 +306,12 @@ declare namespace http { /** * HTTP request header. default is 'content-type': 'application/json' - * @type {?Record} + * @type {?Record} * @syscap SystemCapability.Communication.NetStack * @since 20 * @arkts 1.2 */ - header?: Record; + header?: Record; /** * Read timeout period. The default value is 60,000, in ms. @@ -3942,12 +3942,12 @@ declare namespace http { /** * All headers in the response from the server. - * @type {Record} + * @type {Record} * @syscap SystemCapability.Communication.NetStack * @since 20 * @arkts 1.2 */ - header: Record; + header: Record; /** * Cookies returned by the server. diff --git a/api/@ohos.net.webSocket.d.ts b/api/@ohos.net.webSocket.d.ts index 102539b2f3d036dc2dfbfaf75549d16e7a9710fd..3fc2705f3374972c85fba4320aaa4b9eb3a4e3f9 100644 --- a/api/@ohos.net.webSocket.d.ts +++ b/api/@ohos.net.webSocket.d.ts @@ -124,12 +124,12 @@ declare namespace webSocket { /** * HTTP request header. - * @type {?Record} + * @type {?Record} * @syscap SystemCapability.Communication.NetStack * @since 20 * @arkts 1.2 */ - header?: Record; + header?: Record; /** * File path for client cert.