Quick.UrlClient.WebSocket
2026.3.424
dotnet add package Quick.UrlClient.WebSocket --version 2026.3.424
NuGet\Install-Package Quick.UrlClient.WebSocket -Version 2026.3.424
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.UrlClient.WebSocket" Version="2026.3.424" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Quick.UrlClient.WebSocket" Version="2026.3.424" />
<PackageReference Include="Quick.UrlClient.WebSocket" />
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.UrlClient.WebSocket --version 2026.3.424
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Quick.UrlClient.WebSocket, 2026.3.424"
#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.UrlClient.WebSocket@2026.3.424
#: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.UrlClient.WebSocket&version=2026.3.424
#tool nuget:?package=Quick.UrlClient.WebSocket&version=2026.3.424
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Quick.UrlClient
Quick.UrlClient库的WebSocket实现
URL示例: ws://127.0.0.1:3000/ws/qp
使用示例
using Quick.UrlClient;
using Quick.UrlClient.WebSocket;
//注册要使用的URL架构
WebSocketUrlClient.Register();
var url = "ws://127.0.0.1:3000/ws/qp";
//根据URL创建客户端
using (var urlClient = UrlClientFactory.Build(url))
{
//打开连接
urlClient.Open();
//得到流读写数据
using (var stream = urlClient.GetStream())
{
// 读写数据
}
//关闭
urlClient.Close();
}
| 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.UrlClient (>= 2026.3.424)
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 |
|---|---|---|
| 2026.3.424 | 102 | 4/24/2026 |
| 2026.2.424 | 93 | 4/23/2026 |
| 2026.1.423 | 111 | 4/23/2026 |