Expand description
Streaming support utilities for gRPC
This module provides utilities for handling streaming RPCs:
- Client streaming (receiving stream of messages)
- Server streaming (sending stream of messages)
- Bidirectional streaming (both directions)
Structs§
- Streaming
Request - Request for client streaming RPC
- Streaming
Response - Response for server streaming RPC
Functions§
- empty_
message_ stream - Helper to create an empty message stream
- error_
stream - Helper to create an error stream
- from_
tonic_ stream - Helper to convert a Tonic ReceiverStream to our MessageStream
- message_
stream_ from_ vec - Helper to create a message stream from a vector of bytes
- single_
message_ stream - Helper to create a single-message stream
Type Aliases§
- Message
Stream - Type alias for a stream of protobuf message bytes