mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 06:03:30 +00:00
update api/@ohos.net.webSocket.d.ts.
Signed-off-by: Yangys <yangyousheng@huawei.com>
This commit is contained in:
parent
256e2d3624
commit
da20d15139
2
api/@ohos.net.webSocket.d.ts
vendored
2
api/@ohos.net.webSocket.d.ts
vendored
@ -875,7 +875,7 @@ declare namespace webSocket {
|
||||
* @syscap SystemCapability.Communication.NetStack
|
||||
* @since 12
|
||||
*/
|
||||
on(type: 'headerReceive', callback?: Callback<ResponseHeaders>): void;
|
||||
on(type: 'headerReceive', callback: Callback<ResponseHeaders>): void;
|
||||
|
||||
/**
|
||||
* Unregisters the observer for HTTP Response Header events.
|
||||
|
Loading…
Reference in New Issue
Block a user