Simple iroh rpc library #3272
Replies: 2 comments 1 reply
-
@dpc Thanks for sharing your RPC library. |
Beta Was this translation helpful? Give feedback.
-
Yeeah. We built quic-rpc to do RPC over QUIC in the past. At some point someone contributed an iroh transport for that RPC library. Totally agree we should have simple libraries for this. |
Beta Was this translation helpful? Give feedback.
-
I keep needing the same thing in Iroh: ability for one side to call something (an rpc) on the other side, so I finally wrapped up something to replace the ad-hoc things I've been using:
https://github.com/dpc/iroh-dpc-rpc
BTW. Maybe Iroh should have something like that as one of the standard protocols? Sure blobs and gossip, are easy to use and useful, but being able to do a request and response with minimal amount of code seems even more basic primitive.
Beta Was this translation helpful? Give feedback.
All reactions