K R P C Client
class KRPCClient(connector: RPCClientConnector, runScope: CoroutineScope, frameSerializerFactory: TransportFrameSerializer.Factory, payloadSerializerFactory: PayloadSerializer.Factory, serviceRegistry: ServiceRegistry, sessionContextKeyRegistry: SessionContextKeyRegistry, sessionPlugins: List<SessionNodeExtension.Plugin>, additionalExtensions: List<RPCNodeExtension.Factory<*>>) : RPCTransport, CoroutineScope
Content copied to clipboard
Constructors
KRPCClient
Link copied to clipboard
fun KRPCClient(connector: RPCClientConnector, runScope: CoroutineScope, serializerRegistry: SerializerRegistry, serviceRegistry: ServiceRegistry = ServiceRegistry.Empty, sessionContextKeyRegistry: SessionContextKeyRegistry = SessionContextKeyRegistry.Empty, sessionPlugins: List<SessionNodeExtension.Plugin> = emptyList(), additionalExtensions: List<RPCNodeExtension.Factory<*>> = emptyList())
Content copied to clipboard
Functions
biStream
Link copied to clipboard
open suspend override fun <REQUEST, CLIENT_STREAM, RESPONSE> biStream(serviceCall: ColdBistreamCallDescription<REQUEST, CLIENT_STREAM, RESPONSE>, request: REQUEST, clientStream: Flow<CLIENT_STREAM>): Flow<RESPONSE>
Content copied to clipboard
clientStream
Link copied to clipboard
open suspend override fun <REQUEST, CLIENT_STREAM, RESPONSE> clientStream(serviceCall: ColdUpstreamCallDescription<REQUEST, CLIENT_STREAM, RESPONSE>, request: REQUEST, clientStream: Flow<CLIENT_STREAM>): RESPONSE
Content copied to clipboard
requireSession
Link copied to clipboard
serverStream
Link copied to clipboard
singleCall
Link copied to clipboard
withSession
Link copied to clipboard
Properties
coroutineContext
Link copied to clipboard