StdioServerTransport

constructor(input: Source, output: Sink, block: StdioServerTransport.Builder.() -> Unit = {})(source)

Creates a StdioServerTransport reading from input and writing to output, with optional configuration applied through a Builder block.

Parameters

input

source the transport reads JSON-RPC messages from

output

sink the transport writes JSON-RPC messages to

block

configuration applied to the underlying Builder