STTech.BytesIO.Quic
3.3.2-alpha61025
This is a prerelease version of STTech.BytesIO.Quic.
dotnet add package STTech.BytesIO.Quic --version 3.3.2-alpha61025
NuGet\Install-Package STTech.BytesIO.Quic -Version 3.3.2-alpha61025
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="STTech.BytesIO.Quic" Version="3.3.2-alpha61025" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="STTech.BytesIO.Quic" Version="3.3.2-alpha61025" />
<PackageReference Include="STTech.BytesIO.Quic" />
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 STTech.BytesIO.Quic --version 3.3.2-alpha61025
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: STTech.BytesIO.Quic, 3.3.2-alpha61025"
#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 STTech.BytesIO.Quic@3.3.2-alpha61025
#: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=STTech.BytesIO.Quic&version=3.3.2-alpha61025&prerelease
#tool nuget:?package=STTech.BytesIO.Quic&version=3.3.2-alpha61025&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
STTech.BytesIO.Quic
STTech.BytesIO.Quic 是基于原生 QUIC 协议(System.Net.Quic)的高性能 .NET 字节流通信库。作为 STTech.BytesIO 的扩展模块,它提供了统一的客户端/服务端抽象以及现代传输层的极速体验。
🌟 核心特性
- ⚡ 现代传输层协议:基于 UDP 的 QUIC 协议原生具备 TLS 1.3 加密、0-RTT/1-RTT 极速建连、无队头阻塞及连接迁移能力。
- 🎯 统一 API 设计:提供
QuicClient与QuicServer,与 TCP/串口/IPC 保持完全一致的调用方式。 - 🔐 自动证书管理:内置自签名证书生成器,开发与测试环境下实现开箱即用、零配置启动。
📦 安装
dotnet add package STTech.BytesIO.Quic
🚀 快速上手
using STTech.BytesIO.Quic;
// 1. 创建 QUIC 客户端
var client = new QuicClient
{
Host = "127.0.0.1",
Port = 443
};
client.OnDataReceived += (s, e) =>
{
Console.WriteLine($"收到 QUIC 数据: {e.Data.ToHexString()}");
};
// 2. 连接并发送
await client.ConnectAsync();
await client.SendAsync(new byte[] { 0x11, 0x22 });
📄 开源许可证
本项目基于 Apache-2.0 协议开源。
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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.
-
net10.0
- STTech.BytesIO (>= 3.3.2-alpha61025)
-
net8.0
- STTech.BytesIO (>= 3.3.2-alpha61025)
-
net9.0
- STTech.BytesIO (>= 3.3.2-alpha61025)
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 |
|---|---|---|
| 3.3.2-alpha61025 | 38 | 10/25/2026 |
| 3.3.1-alpha61015 | 57 | 10/14/2026 |
| 3.3.0-alpha0730 | 97 | 7/29/2026 |
| 3.2.0-beta0706 | 87 | 7/12/2026 |
| 3.1.0.1-beta0630 | 96 | 6/30/2026 |
| 3.1.0-beta0629 | 92 | 6/29/2026 |
| 3.0.2-beta0324 | 107 | 3/23/2026 |