mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-03-27 21:48:56 +02:00
45 lines
838 B
Plaintext
Vendored
45 lines
838 B
Plaintext
Vendored
---
|
|
sidebar_position: 5
|
|
---
|
|
|
|
import Tabs from '@theme/Tabs';
|
|
import TabItem from '@theme/TabItem';
|
|
|
|
# Send data
|
|
Sends data to the client by connection ID
|
|
|
|
|
|
|
|
`Function SendData(Val TCPServer, Val ConnectionID, Val Data) Export`
|
|
|
|
| Parameter | CLI option | Type | Required | Description |
|
|
|-|-|-|-|-|
|
|
| TCPServer | - | Arbitrary | ✔ | TCP server. See CreateServer |
|
|
| ConnectionID | - | String, Number | ✔ | Active connection ID. See AwaitingConnection |
|
|
| Data | - | BinaryData | ✔ | Sending data |
|
|
|
|
|
|
Returns: Structure Of KeyAndValue - Execution information
|
|
|
|
<br/>
|
|
|
|
:::tip
|
|
Parameters with Binary data type can also accept file paths on disk and URLs
|
|
:::
|
|
|
|
:::caution
|
|
**NOCLI:** this method is not available in CLI version
|
|
:::
|
|
<br/>
|
|
|
|
|
|
|
|
```bsl title="1C:Enterprise/OneScript code example"
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|