1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-01 22:29:52 +02:00

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot)
2024-12-13 16:00:46 +03:00
parent 9e98a8dbbb
commit 2c66bfacfd
28 changed files with 6170 additions and 5749 deletions

View File

@@ -0,0 +1,42 @@
---
sidebar_position: 1
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Connect and receive data
Establishes a connection and reads data until completion or by limits
`Function ConnectAndReceiveData(Val Address, Val SSL = False, Val Timeout = 0, Val Size = 0, Val AsString = True, Val Encoding = "UTF-8") Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Address | --address | String | ✔ | Address and port |
| SSL | --ssl | Boolean | ✖ | Flag for using a secure connection |
| Timeout | --timeout | Number | ✖ | Data reading time (sec). 0 > until the end of the message |
| Size | --size | Number | ✖ | Maximum data size. 0 > no limit |
| AsString | --string | Boolean | ✖ | True > returns string, False > binary data |
| Encoding | --enc | String | ✖ | Encoding of received data |
Returns: String, BinaryData - Received data
<br/>
:::tip
When the Timeout and Size parameters are set to 0, reading is performed until the message ends
:::
<br/>
```bsl title="1C:Enterprise/OneScript code example"
```

View File

@@ -0,0 +1,4 @@
{
"label": "Tcp client",
"position": "2"
}