Re: [capnproto] How to implement streaming from server to client?

2020-10-19 Thread Dmitriy Lekomtsev
> > Based on this paragraph, I am not interested in answering your questions. > Please do not use Cap'n Proto. Maybe you should try gRPC instead. > It is sad. Your library more useful for Windows than gRPC. Thanks for your answer anyway. -- You received this message because you are subscribed

Re: [capnproto] Middleware & Attaching metadata to calls/returns?

2020-10-19 Thread 'Kenton Varda' via Cap'n Proto
Hi Erin, In Cloudflare Workers, we've had some success attaching certain kinds of metadata by having a wrapper object which is called first, like: interface Endpoint { startCall @0 (metadata :Metadata) -> (dispatcher :CallDispatcher); } interface CallDispatcher { foo @0 (

Re: [capnproto] How to implement streaming from server to client?

2020-10-19 Thread 'Kenton Varda' via Cap'n Proto
Hi Dmitriy, I had a long set of answers typed up for you, but then I came to your last paragraph: > PLEASE DO NOT BE LIKE STUPID AMERICANS. Do not answer for any question > with "Yes". US citizens likes answer for complex question with non related > answer. > Please be as more verbose as you can