You've already forked OpenIntegrations
							
							
				mirror of
				https://github.com/Bayselonarrend/OpenIntegrations.git
				synced 2025-10-30 23:47:46 +02:00 
			
		
		
		
	Main build (Jenkins)
This commit is contained in:
		| @@ -38,7 +38,18 @@ Parameters with Binary data type can also accept file paths on disk and URLs | ||||
|  | ||||
|  | ||||
| ```bsl title="1C:Enterprise/OneScript code example" | ||||
|     Address    = "45.79.112.203:4242"; | ||||
|     Connection = OPI_TCP.CreateConnection(Address); | ||||
|     Data       = "Hello server!" + Chars.LF; | ||||
|  | ||||
|     OPI_TCP.SendLine(Connection, Data); | ||||
|  | ||||
|     // End of message marker to avoid waiting for the end of timeout | ||||
|     Marker = Chars.LF; | ||||
|     Result = OPI_TCP.ReadLine(Connection, , Marker); | ||||
|     // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||||
|  | ||||
|     OPI_TCP.CloseConnection(Connection); | ||||
| ``` | ||||
|   | ||||
|  | ||||
|   | ||||
| @@ -40,12 +40,12 @@ Parameters with Binary data type can also accept file paths on disk and URLs | ||||
|     Message    = "Hello server!" + Chars.LF; | ||||
|     Data       = ПолучитьДвоичныеДанныеИзСтроки(Message); | ||||
|  | ||||
|     OPI_TCP.SendBinaryData(Connection, Data); | ||||
|     Result = OPI_TCP.SendBinaryData(Connection, Data); | ||||
|     // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||||
|  | ||||
|     // End of message marker to avoid waiting for the end of timeout | ||||
|     Marker = Chars.LF; | ||||
|     Result = OPI_TCP.ReadBinaryData(Connection, , Marker); | ||||
|     Response = OPI_TCP.ReadBinaryData(Connection, , Marker); | ||||
|  | ||||
|     OPI_TCP.CloseConnection(Connection); | ||||
| ``` | ||||
|   | ||||
| @@ -33,7 +33,18 @@ import TabItem from '@theme/TabItem'; | ||||
|  | ||||
|  | ||||
| ```bsl title="1C:Enterprise/OneScript code example" | ||||
|     Address    = "45.79.112.203:4242"; | ||||
|     Connection = OPI_TCP.CreateConnection(Address); | ||||
|     Data       = "Hello server!" + Chars.LF; | ||||
|  | ||||
|     Result = OPI_TCP.SendLine(Connection, Data); | ||||
|     // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||||
|  | ||||
|     // End of message marker to avoid waiting for the end of timeout | ||||
|     Marker = Chars.LF; | ||||
|     Response = OPI_TCP.ReadLine(Connection, , Marker); | ||||
|  | ||||
|     OPI_TCP.CloseConnection(Connection); | ||||
| ``` | ||||
|   | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user