Nalix.SDK 14.4.0

dotnet add package Nalix.SDK --version 14.4.0
                    
NuGet\Install-Package Nalix.SDK -Version 14.4.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="Nalix.SDK" Version="14.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nalix.SDK" Version="14.4.0" />
                    
Directory.Packages.props
<PackageReference Include="Nalix.SDK" />
                    
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 Nalix.SDK --version 14.4.0
                    
#r "nuget: Nalix.SDK, 14.4.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 Nalix.SDK@14.4.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=Nalix.SDK&version=14.4.0
                    
Install as a Cake Addin
#tool nuget:?package=Nalix.SDK&version=14.4.0
                    
Install as a Cake Tool

Nalix.SDK

Client-side transport sessions, handshakes, request/response helpers, subscriptions, and cipher management for Nalix applications.

Nalix.SDK is the client package. It exposes TCP, WebSocket, and datagram (NDP over UDP) sessions, typed request correlation, session resume helpers, subscription dispatch, and runtime cipher updates.

Install

dotnet add package Nalix.SDK

What It Provides

Area Purpose Main types
Transport sessions Shared client session base and concrete transports TransportSession, TcpSession, WebSocketSession, DatagramSession
Request/response Correlated typed request matching with timeout support RequestAsync<TResponse>, RequestOptions
Handshake and resume X25519 connection setup and session resumption ConnectAsync, ConnectWithResumeAsync
Cipher control Runtime cipher switching and rotation UpdateCipherAsync
Subscriptions Typed packet event handlers On<TPacket>(), OnExact<TPacket>()
Options Client transport and request configuration TransportOptions, WebSocketTransportOptions, RequestOptions

TCP Request

using Nalix.SDK.Options;
using Nalix.SDK.Transport;
using Nalix.SDK.Transport.Extensions;

TransportOptions options = new()
{
    Address = "127.0.0.1",
    Port = 57200
};

using TcpSession session = new(options);
await session.ConnectAsync(options.Address, options.Port);

MyResponse response = await session.RequestAsync<MyResponse>(
    new MyRequest { Id = 1 },
    RequestOptions.Default.WithTimeout(5_000));

Subscriptions

using Nalix.SDK.Transport.Extensions;

using IDisposable subscription = session.On<ChatMessage>(message =>
{
    Console.WriteLine(message.Text);
});

Design Notes

  • Use one TransportSession per active client connection.
  • Request helpers correlate responses and clean up pending waiters on timeout.
  • After HandshakeAsync(), a request is encrypted only when RequestOptions.Encrypt is true, or when it is left null and TransportOptions.EncryptRequestsByDefault is enabled. The default (false) leaves encryption to an outer TLS layer.
  • WebSocket clients are useful for browser-compatible deployments behind reverse proxies.

Documentation

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in 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
14.4.0 699 11/22/2026
14.3.10 117 11/19/2026
14.3.9 7,773 10/27/2026
14.3.8 643 10/26/2026
14.3.7 2,469 10/24/2026
14.3.6 110 10/24/2026
14.3.5 231 10/6/2026
14.3.4 109 10/6/2026
14.3.3 148 9/26/2026
14.3.2 112 9/26/2026
14.3.1 3,105 8/29/2026
14.3.0 854 8/27/2026
14.2.18 204 8/13/2026
14.2.17 511 8/11/2026
14.2.16 248 8/1/2026
14.2.15 187 7/31/2026
14.2.14 177 7/31/2026
14.2.13 175 7/31/2026
14.2.12 180 7/29/2026
14.2.11 186 7/28/2026
Loading failed

- Managed Sessions: Professional lifecycle management for TcpSession and UdpSession with automatic reconnection and state handling.
- Request-Response Pattern: High-level RequestAsync<TResponse> API featuring correlated packet matching and granular timeout management.
- Session Orchestration: Advanced extensions for handshakes, session resumption, and dynamic cipher rotation on active transport streams.
- Typed Messaging: Type-safe packet subscription model (On<T>) for clean and efficient application-level message handling.
- Resource Optimization: Full integration with the zero-allocation PacketRegistry for high-performance, pool-aware data processing.