mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 14:13:45 +00:00
update api/@ohos.net.socket.d.ts.
Signed-off-by: Yangys <yangyousheng@huawei.com>
This commit is contained in:
parent
ad41808830
commit
3e56ec77f6
12
api/@ohos.net.socket.d.ts
vendored
12
api/@ohos.net.socket.d.ts
vendored
@ -2637,7 +2637,7 @@ declare namespace socket {
|
||||
|
||||
/**
|
||||
* Sends data over a TLSSocket connection.
|
||||
* @param { string } data - Optional parameters {@link string}.
|
||||
* @param { string } data - Parameters for sending data {@link string}.
|
||||
* @param { AsyncCallback<void> } callback - the callback of send.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 2303501 - SSL is null.
|
||||
@ -2650,7 +2650,7 @@ declare namespace socket {
|
||||
*/
|
||||
/**
|
||||
* Sends data over a TLSSocket connection.
|
||||
* @param { string } data - Optional parameters {@link string}.
|
||||
* @param { string } data - Parameters for sending data {@link string}.
|
||||
* @param { AsyncCallback<void> } callback - the callback of send.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 2303501 - SSL is null.
|
||||
@ -2664,7 +2664,7 @@ declare namespace socket {
|
||||
*/
|
||||
/**
|
||||
* Sends data over a TLSSocket connection.
|
||||
* @param { string | ArrayBuffer } data - Optional parameters.
|
||||
* @param { string | ArrayBuffer } data - Parameters for sending data.
|
||||
* @param { AsyncCallback<void> } callback - the callback of send.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 2303501 - SSL is null.
|
||||
@ -2680,7 +2680,7 @@ declare namespace socket {
|
||||
|
||||
/**
|
||||
* Sends data over a TLSSocket connection.
|
||||
* @param { string } data - Optional parameters {@link string}.
|
||||
* @param { string } data - Parameters for sending data {@link string}.
|
||||
* @returns { Promise<void> } The promise returned by the function.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 2303501 - SSL is null.
|
||||
@ -2693,7 +2693,7 @@ declare namespace socket {
|
||||
*/
|
||||
/**
|
||||
* Sends data over a TLSSocket connection.
|
||||
* @param { string } data - Optional parameters {@link string}.
|
||||
* @param { string } data - Parameters for sending data {@link string}.
|
||||
* @returns { Promise<void> } The promise returned by the function.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 2303501 - SSL is null.
|
||||
@ -2707,7 +2707,7 @@ declare namespace socket {
|
||||
*/
|
||||
/**
|
||||
* Sends data over a TLSSocket connection.
|
||||
* @param { string | ArrayBuffer } data - Optional parameters.
|
||||
* @param { string | ArrayBuffer } data - Parameters for sending data.
|
||||
* @returns { Promise<void> } The promise returned by the function.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @throws { BusinessError } 2303501 - SSL is null.
|
||||
|
Loading…
Reference in New Issue
Block a user