I'd look at something like the following (copied from the 0.8 announcement
<https://capnproto.org/news/2020-04-23-capnproto-0.8.html>)
interface MyInterface {
streamingCall @0 () -> (callback :Callback);
interface Callback {
sendChunk @0 (chunk :Data) -> stream;
done @1 ();
}
}
The client can call `streamingCall`, then call `sendChunk` repeatedly to
stream items to the server, calling done when it is done.
On Friday, July 31, 2020 at 10:57:48 AM UTC-4 Amit Kumar wrote:
>
> So I had a use case where the client streams to server over gRPC. I was
> trying to find examples of an equivalent setup for Cap'n Proto but no luck
> so far.
>
> Any ideas?
>
--
You received this message because you are subscribed to the Google Groups
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/capnproto/8b256e69-633d-4ebe-b09c-8e42e612bc8cn%40googlegroups.com.