KrpcServer

constructor(config: KrpcConfig.Server, transport: KrpcTransport)(source)

Parameters

config

configuration provided for that specific server. Applied to all services that use this server.

transport

KrpcTransport instance that will be used to send and receive RPC messages. IMPORTANT: Must be exclusive to this server, otherwise unexpected behavior may occur.