gRPC Streams
gRPC streaming enables real-time, bidirectional communication between clients and servers. Bruno supports all four types of gRPC streaming patterns, allowing you to test and interact with streaming APIs efficiently.
Understanding gRPC Streaming
gRPC streaming allows you to send and receive multiple messages over a single connection, making it ideal for:
- Real-time applications (chat, notifications, live updates)
- Large data transfers (file uploads, bulk operations)
- Continuous data processing (sensor data, analytics)
- Bidirectional communication (collaborative editing, gaming)
Streaming Workflow
Step 1: Configure Request
- Open your collection and create a new gRPC request
- Add your gRPC server URL (e.g.,
https://grpcb.in/
) - Select a streaming method from the dropdown
Step 2: Auto-Generate or Add Proto Files
You have two options to add message schema:
Option A: Auto-Generate Messages
- Bruno can auto-generate message templates based on server reflection (Click the Auto Fill 🔄 button)
- This works when your gRPC server has reflection enabled
Option B: Add Proto Files
- Upload your
.proto
files for enhanced IntelliSense - Provides better type safety and method discovery
Step 3: Build Stream Connection
- Start Stream: Click the send button to establish the bidirectional connection
Step 4: Send Multiple Messages
Once the stream is active:
- Send Message: Click the send button to transmit your message (next to Auto Fill button)
- Add More Messages: Continue sending additional messages as needed
Step 5: End Stream and View Timeline
- End Message Stream: Click the ✓ icon (end stream button) to stop sending messages
- Complete Request: End the entire streaming session
- View Response Timeline: See the complete conversation timeline with timestamps