Configuration

Edit pageLast modified: 28 January 2025

KrpcConfig is a class used to configure KrpcClient and KrpcServer (not to be confused with KrpcClient and KrpcServer). It has two children: KrpcConfig.Client and KrpcConfig.Server. Client and Server may have shared properties as well as distinct ones. To create instances of these configurations, DSL builders are provided (KrpcConfigBuilder.Client class with rpcClientConfig function and KrpcConfigBuilder.Server class with rpcServerConfig function respectively):

The following configuration options are available: