Package-level declarations

Types

Link copied to clipboard
sealed interface KrpcConfig

Configuration class that is used by kRPC protocol's client and server (KrpcClient and KrpcServer).

Link copied to clipboard
sealed class KrpcConfigBuilder

Builder for KrpcConfig. Provides DSL to configure parameters for KrpcClient and/or KrpcServer.

Link copied to clipboard
interface KrpcTransport : CoroutineScope

An abstraction of transport capabilities for KrpcClient and KrpcServer.

Link copied to clipboard
sealed interface KrpcTransportMessage

A single message that can be transferred from one RPC endpoint to another. Can be either of string or binary type.

Functions

Link copied to clipboard

Suspends until the next RPC message from a peer endpoint is received and then returns it.