Back to docs
KrpcRoute class represents an RPC server mounted in Ktor routing. This class provides an API to register services and optionally setup configuration.
Ktor server plugin that allows to configure RPC globally for all mounted servers.
Adds an RPC route to the specified Route. Provides builder to configure kotlinx.rpc.RpcServer that will be used internally. Note that the WebSockets plugin is required for such a route to work.