PulseRPC.Shared
1.1.21
dotnet add package PulseRPC.Shared --version 1.1.21
NuGet\Install-Package PulseRPC.Shared -Version 1.1.21
<PackageReference Include="PulseRPC.Shared" Version="1.1.21" />
<PackageVersion Include="PulseRPC.Shared" Version="1.1.21" />
<PackageReference Include="PulseRPC.Shared" />
paket add PulseRPC.Shared --version 1.1.21
#r "nuget: PulseRPC.Shared, 1.1.21"
#:package PulseRPC.Shared@1.1.21
#addin nuget:?package=PulseRPC.Shared&version=1.1.21
#tool nuget:?package=PulseRPC.Shared&version=1.1.21
PulseRPC
PulseRPC 是面向现代 .NET 与 Unity 的 TCP/KCP RPC 框架。
安装
按项目角色安装运行时包:
# 共享契约项目
dotnet add package PulseRPC.Abstractions
# 服务端项目
dotnet add package PulseRPC.Server
# 客户端项目
dotnet add package PulseRPC.Client
PulseRPC.Server 和 PulseRPC.Client 已携带各自的 Source Generator,无需另外安装生成器包。
通过 NuGetForUnity 安装 PulseRPC.Client 时,最低要求为 Unity 2022.3.12f1 / Roslyn 4.3;包内使用不依赖 IDE Workspaces/MEF 的 netstandard2.0 生成器构建。
唯一快速开始
完整、可运行并由 CI 端到端验证的黄金路径是三项目 HelloRPC:
HelloRPC 包含共享 Contracts、Server 和 Client,执行一次真实 TCP RPC 并校验返回值 Hello, PulseRPC!。
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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 was computed. 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. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- MemoryPack (>= 1.21.4)
- MemoryPack.Core (>= 1.21.4)
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.0)
- PulseRPC.Abstractions (>= 1.1.21)
- System.CodeDom (>= 9.0.0)
- System.Collections.Immutable (>= 9.0.0)
- System.Diagnostics.DiagnosticSource (>= 9.0.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
- System.Threading.Channels (>= 9.0.0)
-
net10.0
- MemoryPack (>= 1.21.4)
- MemoryPack.Core (>= 1.21.4)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.4)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.0)
- PulseRPC.Abstractions (>= 1.1.21)
- System.CodeDom (>= 9.0.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on PulseRPC.Shared:
| Package | Downloads |
|---|---|
|
PulseRPC.Client
PulseRPC Client library with integrated ServiceDiscovery and LoadBalancing |
|
|
PulseRPC.Server
Unified Realtime/API framework for .NET platform and Unity. |
GitHub repositories
This package is not used by any popular GitHub repositories.