You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-23 22:05:15 +02:00
50 lines
1.2 KiB
Plaintext
Vendored
50 lines
1.2 KiB
Plaintext
Vendored
---
|
|
sidebar_position: 4
|
|
description: Is connector and other functions to work with RCON in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
|
|
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, RCON]
|
|
---
|
|
|
|
import Tabs from '@theme/Tabs';
|
|
import TabItem from '@theme/TabItem';
|
|
|
|
# Is connector
|
|
Checks that the value is an object of an RCON AddIn
|
|
|
|
|
|
|
|
`Function IsConnector(Val Value) Export`
|
|
|
|
| Parameter | CLI option | Type | Required | Description |
|
|
|-|-|-|-|-|
|
|
| Value | - | Arbitrary | ✔ | Value to check |
|
|
|
|
|
|
Returns: Boolean - Is connector
|
|
|
|
<br/>
|
|
|
|
|
|
:::caution
|
|
**NOCLI:** this method is not available in CLI version
|
|
:::
|
|
<br/>
|
|
|
|
|
|
```bsl title="1C:Enterprise/OneScript code example"
|
|
URL = "127.0.0.1:25565";
|
|
Password = "12We...";
|
|
WriteTimeout = 20;
|
|
ReadTimeout = 20;
|
|
|
|
ConnectionParams = OPI_RCON.FormConnectionParameters(URL, Password, ReadTimeout, WriteTimeout);
|
|
Connection = OPI_RCON.CreateConnection(ConnectionParams);
|
|
Result = OPI_RCON.IsConnector(Connection);
|
|
```
|
|
|
|
|
|
|
|
|
|
```json title="Result"
|
|
true
|
|
```
|