MtlsTunnel.WebSockets 0.1.0-alpha.1

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

MtlsTunnel.WebSockets

Optional .NET 10 byte transport layered on MtlsTunnel. Configure new WebSocketTransportConnector(new WebSocketTransportOptions { Endpoint = ... }) as TunnelOptions.TransportConnector. The shared tunnel still performs TLS 1.3 mTLS. The HTTPS certificate identity and trust are independent of the gateway mTLS identity. No client mTLS certificate is attached to the outer HTTPS connection.

Only bounded binary WebSocket messages carry the stream. WSS is required outside an explicit isolated local test. ServerRootCertificate is an optional cloned public WSS trust root; normally use system HTTPS trust. WebSocket does not provide general TCP half-close; the adapter drains both relay directions and mTLS before final Close.

A final missing remote Close can produce RemoteCloseHandshakeMissing only after a successful drained session. The typed cause and counter remain available. Active I/O, TLS, truncation, timeout and cancellation failures retain their error paths.

See the private repository's samples/dotnet/WebSocket and docs/dotnet-sdk.md for complete package consumption, SQL validation and lifecycle. Built and executed on Linux x64/.NET 10 only. No promise of AOT, trimming, ARM or Windows validation.

Source: https://bitbucket.org/remixed2/mssql-cloudflare

dotnet add package MtlsTunnel.WebSockets --version 0.1.0-alpha.1

Alpha release by doothejob. Licensing is declared in the package metadata.

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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on MtlsTunnel.WebSockets:

Package Downloads
MtlsTunnel.Cloudflare

Bounded in-process mutually authenticated TLS transport for .NET 10. See the package README for layer-specific behavior and alpha limitations.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-alpha.1 63 9/21/2026

Initial alpha with direct TCP, optional WebSocket and Cloudflare layers, strict mTLS validation, bounded relay and typed final-close diagnostics.