![]() |
VOOZH | about |
dotnet add package Lakona.Rpc.Server --version 0.12.2
NuGet\Install-Package Lakona.Rpc.Server -Version 0.12.2
<PackageReference Include="Lakona.Rpc.Server" Version="0.12.2" />
<PackageVersion Include="Lakona.Rpc.Server" Version="0.12.2" />Directory.Packages.props
<PackageReference Include="Lakona.Rpc.Server" />Project file
paket add Lakona.Rpc.Server --version 0.12.2
#r "nuget: Lakona.Rpc.Server, 0.12.2"
#:package Lakona.Rpc.Server@0.12.2
#addin nuget:?package=Lakona.Rpc.Server&version=0.12.2Install as a Cake Addin
#tool nuget:?package=Lakona.Rpc.Server&version=0.12.2Install as a Cake Tool
Server runtime implementation for Lakona.Rpc.
dotnet add package Lakona.Rpc.Server
API reference: https://bruce48x.github.io/Lakona.Rpc/reference/api/
Design boundary: https://bruce48x.github.io/Lakona.Rpc/concepts/design-boundary/
Lakona.Rpc.CoreLakona.Rpc.Server has no hard dependency on concrete serializer or transport implementations.
RpcServerHostBuilderRpcServerHostRpcGeneratedServiceBinderUse RpcServerHostBuilder to compose serializer, transport, generated binders, and security in one place:
var builder = RpcServerHostBuilder.Create()
.UseCommandLine(args)
.UseSerializer(new MemoryPackRpcSerializer())
.UseKeepAlive(TimeSpan.FromSeconds(15), TimeSpan.FromSeconds(45))
.UseAcceptor(new TcpConnectionAcceptor(20000));
await builder.RunAsync();
When the entry assembly contains code-generated AllServicesBinder, the builder binds it automatically.
Server applications should not create RpcSession directly or hand-write (serviceId, methodId) handler dictionaries. RpcSession, RpcServiceRegistry, and low-level handler delegates are runtime implementation and generated-binder support APIs.
Custom transports and serializers are supported extension points. Implement ITransport, IRpcConnectionAcceptor, or IRpcSerializer, then pass those implementations into RpcServerHostBuilder.
RpcServerHostBuilder.UseKeepAlive(...) enables connection-level idle timeout handling for accepted sessions.
Lakona.Rpc.Server is focused on RPC session management, transport integration, request dispatch, and connection-level concerns such as framing, keepalive, and transport security.
Request-level authorization is not built into the server runtime by design.
See the canonical design boundary page for the production integration boundary:
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 2 NuGet packages that depend on Lakona.Rpc.Server:
| Package | Downloads |
|---|---|
|
Lakona.Game.Server
Server-side actor runtime, RPC hosting helpers, session lifecycle, and reliable push infrastructure for Lakona.Game applications. |
|
|
Lakona.Game.Cluster.Rpc
Lakona.Rpc-based node messenger adapter for Lakona.Game cluster routing. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.12.2 | 164 | 6/12/2026 |