@Benoit Quenaudon ktor does not support full duplex. Here's what I think is feasible:
• Supported: Single message in, single message out.
• Supported: Single message in, streaming messages out.
• Supported (maybe?): Streaming messages in, single message out.
• Not supported: Full duplex.
◦ Supported (maybe?): Streaming all messages in
before streaming all messages out.
In general, I think we can support any communication pattern where the entire request is sent before any response is expected. Unsurprisingly, we won't be able to support "conversational" communication patterns where requests and responses are sent concurrently.
However, it's exciting that we might be able to support a wider variety of rpcs than the
grpc-web project!