asJsonRpcConnection
suspend fun Pair<ByteReadChannel, ByteWriteChannel>.asJsonRpcConnection(env: KsrpcEnvironment<String>, includeContentHeaders: Boolean = true): SingleChannelConnection<String>
suspend fun Pair<InputStream, OutputStream>.asJsonRpcConnection(env: KsrpcEnvironment<String>): SingleChannelConnection<String>
Helper that calls into Pair
suspend fun ProcessBuilder.asJsonRpcConnection(env: KsrpcEnvironment<String>): SingleChannelConnection<String>
Create a SingleChannelConnection that starts the process and uses the Process.getInputStream and Process.getOutputStream as the streams for communication using jsonrpc.