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" />
<PackageReference Include="glue-cli-lib" />
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
#tool nuget:?package=glue-cli-lib&version=1.10.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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.
-
- io.Connect.NET (>= 1.45.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.