1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-29 21:57:16 +02:00
OpenIntegrations/docs/en/md/TCP/Server-methods/Close-incoming-connection.mdx
Vitaly the Alpaca (bot) e9e90962d1 Main build (Jenkins)
2025-01-21 17:01:15 +03:00

41 lines
719 B
Plaintext
Vendored

---
sidebar_position: 7
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Close incoming connection
Closes an existing connection by identifier
`Function CloseIncomingConnection(Val TCPServer, Val ConnectionID) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| TCPServer | - | Arbitrary | ✔ | TCP server. See CreateServer |
| ConnectionID | - | String, Number | ✔ | Active connection ID. See AwaitingConnection |
Returns: Structure Of KeyAndValue - Execution information
<br/>
:::caution
**NOCLI:** this method is not available in CLI version
:::
<br/>
```bsl title="1C:Enterprise/OneScript code example"
```