paritytech / jsonrpc

Rust JSON-RPC implementation
MIT License
791 stars 274 forks source link

Stdio client #685

Open linde12 opened 9 months ago

linde12 commented 9 months ago

Hi! I wanted to talk RPC over stdio, but there was no transport for it so i thought i'd make one. I took ownership of stdin and stdout of my child process but i was unable to write because i would require a mutable reference to self in the implementation of Transport

Am i missing something? Is there another way? Thanks.