Horatio Thomas
06/27/2026, 5:14 AMmannodermaus
06/29/2026, 7:34 AMAlexander Sysoev
06/30/2026, 2:00 PMDumitru Preguza
07/04/2026, 11:17 PMfun Route.rpcRoute() {
rpc("/krpc-route") {
rpcConfig {
serialization { json(get<Json>()); }
}
val currentPrincipal = call.principal<UserPrincipal>()
registerService<KrpcRandomServiceImpl> {
KrpcRandomServiceImpl(currentPrincipal)
}
}