gRPC & RPC

Bidirectional Streaming RPC

A gRPC pattern where both client and server send streams of messages simultaneously over a single connection. The streams are independent — either side can send messages in any order, and the interaction pattern is determined by the application logic. Bidirectional streaming is ideal for real-time collaboration, chat, and game server protocols. Both parties must close their side of the stream independently.

Protocolos relacionados

Veja também