Package-level declarations
Types
Link copied to clipboard
class ChannelTransport(sendChannel: SendChannel<JSONRPCMessage>, receiveChannel: ReceiveChannel<JSONRPCMessage>, dispatcher: CoroutineDispatcher = Dispatchers.Default) : AbstractClientTransport
A transport implementation that uses Kotlin Coroutines Channels for asynchronous communication of JSON-RPC messages. This is useful in scenarios where communication is message-based and channels are used as the underlying mechanism for delivery.