Quick.Protocol
2.9.3-rc2
This is a prerelease version of Quick.Protocol.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Quick.Protocol --version 2.9.3-rc2
NuGet\Install-Package Quick.Protocol -Version 2.9.3-rc2
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="Quick.Protocol" Version="2.9.3-rc2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Quick.Protocol" Version="2.9.3-rc2" />
<PackageReference Include="Quick.Protocol" />
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 Quick.Protocol --version 2.9.3-rc2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Quick.Protocol, 2.9.3-rc2"
#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 Quick.Protocol@2.9.3-rc2
#: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=Quick.Protocol&version=2.9.3-rc2&prerelease
#tool nuget:?package=Quick.Protocol&version=2.9.3-rc2&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Quick.Protocol
Quick.Protocol 核心库,提供协议基础实现。
功能特性
- 基于 TCP/Pipeline/SerialPort/WebSocket/HTTP 的通信协议
- 支持命令(Request/Response)和通知(Notice)模式
- 支持 DES/AES 加密
- 支持 GZip 压缩
- 心跳机制保持连接活跃
- AOT 兼容
安装
dotnet add package Quick.Protocol
快速开始
using Quick.Protocol;
// 创建客户端选项
var options = new QpTcpClientOptions
{
Host = "127.0.0.1",
Port = 3000,
Password = "HelloQP"
};
// 创建并连接客户端
var client = options.CreateClient();
await client.ConnectAsync();
// 发送命令
var response = await client.SendCommand(new MyRequest { ... });
// 发送通知
await client.SendNoticePackage(new MyNotice { ... });
项目地址
| Product | Versions 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.
-
net10.0
- Quick.Utils (>= 2026.4.809)
NuGet packages (22)
Showing the top 5 NuGet packages that depend on Quick.Protocol:
| Package | Downloads |
|---|---|
|
Quick.Protocol.Pipeline
Pipeline support for Quick.Protocol |
|
|
Quick.Protocol.Tcp
TCP support for Quick.Protocol |
|
|
YiQiDong.Core
易启动核心库 |
|
|
Quick.Protocol.WebSocket.Client
WebSocket client support for Quick.Protocol |
|
|
Quick.Protocol.SerialPort
SerialPort support for Quick.Protocol |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.9.4 | 200 | 8/28/2026 |
| 2.9.3 | 620 | 8/24/2026 |
| 2.9.3-rc2 | 61 | 8/27/2026 |
| 2.9.3-rc1 | 80 | 8/27/2026 |
| 2.9.2 | 325 | 8/22/2026 |
| 2.9.1 | 184 | 8/22/2026 |
| 2.9.0 | 188 | 8/21/2026 |
| 2.8.9 | 217 | 8/13/2026 |
| 2.8.8 | 208 | 8/12/2026 |
| 2.8.7 | 218 | 8/11/2026 |
| 2.8.6 | 194 | 8/11/2026 |
| 2.8.5 | 291 | 8/10/2026 |
| 2.8.4 | 265 | 8/9/2026 |
| 2.8.3 | 217 | 8/9/2026 |
| 2.8.2 | 299 | 8/9/2026 |
| 2.8.1 | 213 | 8/9/2026 |
| 2.8.0 | 622 | 7/30/2026 |
| 2.7.3 | 431 | 7/17/2026 |
| 2.7.2 | 266 | 7/17/2026 |
| 2.7.1 | 264 | 7/17/2026 |
Loading failed