glue-cli-lib 1.10.0

dotnet add package glue-cli-lib --version 1.10.0
                    
NuGet\Install-Package glue-cli-lib -Version 1.10.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="glue-cli-lib" Version="1.10.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="glue-cli-lib" Version="1.10.0" />
                    
Directory.Packages.props
<PackageReference Include="glue-cli-lib" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add glue-cli-lib --version 1.10.0
                    
#r "nuget: glue-cli-lib, 1.10.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package glue-cli-lib@1.10.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=glue-cli-lib&version=1.10.0
                    
Install as a Cake Addin
#tool nuget:?package=glue-cli-lib&version=1.10.0
                    
Install as a Cake Tool

Dependencies

Depends on io.connect.net.1.45

Additions

  • added glue_init_manual to allow custom gw uri, environment and region
 glue_init_manual("glue_cpp_native",
	 	"DEMO", "INTEROP.IO", "ws://localhost:8385", nullptr,
	 		  [](const glue_state state, const char* message, const glue_payload* glue_payload, const COOKIE cookie)
	 		  {
	 			  std::cout << "Glue Init state: " << enum_as_int(state) << " Message: " << message << std::endl;
	 			  if (state == glue_state::connected)
	 			  {
	 				  const auto glue_ready_event = const_cast<HANDLE>(cookie);
	 				  SetEvent(glue_ready_event);
	 			  }
	 		  }, initEvent, glue_features_default);
  • added glue_init_logger and glue_log
	glue_init_logger("log.config", nullptr);
	glue_log("entrypoint", 2, "Glue Native C++ Playground started");
  • added glue_init_select for advanced iocd instance selection
 glue_init_select("glue_cpp_native", [](const glue_state state, const char* message, const glue_payload* glue_payload, const COOKIE cookie)
	 	{
	 		std::cout << "Glue Init state: " << enum_as_int(state) << " Message: " << message << std::endl;
	 		if (state == glue_state::connected)
	 		{
	 			const auto glue_ready_event = const_cast<HANDLE>(cookie);
	 			SetEvent(glue_ready_event);
	 		}
	 	}, initEvent, glue_features_default,
	 	[](const glue_payload* glue_payload, COOKIE cookie)
	 		{
	 			auto len = glue_payload->args_len; // number of discovered instances
	 			auto env = glue_read_s(glue_payload->reader, "instance_0.environment"); // environment of the first instance
	 			return 0; // select the first instance
	 		});
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.10.0 32 1/13/2026
1.9.0 208 10/22/2025
1.8.0 284 8/26/2025
1.6.0 201 1/29/2025
1.5.0 240 9/28/2024
1.3.0 216 5/10/2024
1.2.0 498 10/25/2023
1.1.0 372 10/24/2023
1.0.0 349 7/13/2023